summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/ftp/files/netkit-ftp-0.17-acct.patch')
-rw-r--r--net-ftp/ftp/files/netkit-ftp-0.17-acct.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-ftp/ftp/files/netkit-ftp-0.17-acct.patch b/net-ftp/ftp/files/netkit-ftp-0.17-acct.patch
new file mode 100644
index 000000000000..f679b80b35a6
--- /dev/null
+++ b/net-ftp/ftp/files/netkit-ftp-0.17-acct.patch
@@ -0,0 +1,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) {