summaryrefslogtreecommitdiffstats
path: root/source/n/netkit-ftp/patches/06-netkit-ftp-0.17-runique_mget.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/netkit-ftp/patches/06-netkit-ftp-0.17-runique_mget.patch')
-rw-r--r--source/n/netkit-ftp/patches/06-netkit-ftp-0.17-runique_mget.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/n/netkit-ftp/patches/06-netkit-ftp-0.17-runique_mget.patch b/source/n/netkit-ftp/patches/06-netkit-ftp-0.17-runique_mget.patch
new file mode 100644
index 000000000..8ba1152de
--- /dev/null
+++ b/source/n/netkit-ftp/patches/06-netkit-ftp-0.17-runique_mget.patch
@@ -0,0 +1,13 @@
+--- netkit-ftp-0.17/ftp/ftp.c.runique_mget 2004-12-07 12:05:49.360133092 +0100
++++ netkit-ftp-0.17/ftp/ftp.c 2004-12-07 12:06:48.480883902 +0100
+@@ -923,7 +923,9 @@
+ return;
+ }
+ }
+- else if (runique && (local = gunique(local)) == NULL) {
++ else if (runique && (strcmp(cmd, "NLST") != 0) &&
++ (local = gunique(local)) == NULL)
++ {
+ (void) signal(SIGINT, oldintr);
+ code = -1;
+ return;