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

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