summaryrefslogtreecommitdiff
path: root/netkit-ftp-0.17-acct.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:06:58 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:06:58 +0000
commitac180a0ccc7b9d6d1a7e2c0ba34a0e617fb87b2a (patch)
tree9de49e1f2fc574f4e68e0c5eb903cb537c8c2695 /netkit-ftp-0.17-acct.patch
parent72d830c7e64b038eb96c0f36e0c1a0ab225238e3 (diff)
automatic import of ftpopeneuler24.03_LTS
Diffstat (limited to 'netkit-ftp-0.17-acct.patch')
-rw-r--r--netkit-ftp-0.17-acct.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/netkit-ftp-0.17-acct.patch b/netkit-ftp-0.17-acct.patch
new file mode 100644
index 0000000..aaadc1f
--- /dev/null
+++ b/netkit-ftp-0.17-acct.patch
@@ -0,0 +1,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) {