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

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