Blame SOURCES/netkit-ftp-0.17-acct_ovl.patch

09d58c
diff -up netkit-ftp-0.17/ftp/cmds.c.acct_ovl netkit-ftp-0.17/ftp/cmds.c
09d58c
--- netkit-ftp-0.17/ftp/cmds.c.acct_ovl	2011-09-09 15:36:36.087956561 +0200
09d58c
+++ netkit-ftp-0.17/ftp/cmds.c	2011-09-09 15:41:16.457495370 +0200
09d58c
@@ -1837,8 +1837,7 @@ account(int argc, char *argv[])
09d58c
 		while (argc > 1) {
09d58c
 			--argc;
09d58c
 			++argv;
09d58c
-			strncat(buf, *argv, sizeof(buf)-strlen(buf));
09d58c
-			buf[sizeof(buf)-1] = 0;
09d58c
+			strncat(buf, *argv, sizeof(buf)-strlen(buf)-1);
09d58c
 		}
09d58c
 		ap = buf;
09d58c
 	}