arjitkumar / rpms / ftp

Forked from rpms/ftp 5 years ago
Clone

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

09d58c
--- netkit-ftp-0.17/ftp/ftp.c.acct	Sun Jan 21 00:08:29 2001
09d58c
+++ netkit-ftp-0.17/ftp/ftp.c	Sun Jan 21 00:09:04 2001
09d58c
@@ -254,7 +254,8 @@
09d58c
 	if (n == CONTINUE) {
09d58c
 		aflag++;
09d58c
 		/* fflush(stdout); */
09d58c
-		zacct = getpass("Account:");
09d58c
+		if(zacct==NULL)
09d58c
+			zacct = getpass("Account:");
09d58c
 		n = command("ACCT %s", zacct);
09d58c
 	}
09d58c
 	if (n != COMPLETE) {