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

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