summaryrefslogtreecommitdiff
blob: f679b80b35a65bda07a1e5da418c1dd4cd37376a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Ripped from Fedora
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=17353

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