ftp/netkit-ftp-0.17-acct.patch
cvsdist 7fec8e82d9 auto-import changelog data from ftp-0.17-7.src.rpm
Sun Jan 21 2001 Bernhard Rosenkraenzer <bero@redhat.com>
- Update to 0.17 final
- Fix up ACCT support in netrc (Bug #17353)
2004-09-09 04:53:56 +00:00

13 lines
340 B
Diff

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