summaryrefslogblamecommitdiffstats
path: root/source/n/netkit-ftp/patches/02-netkit-ftp-0.17-acct.patch
blob: aaadc1f045c4f2a3b97ddfe0b01ce02056b0a003 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                
--- 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) {