source: npl/system/netkit-ftp/patches/06-netkit-ftp-0.17-runique_mget.patch @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 409 bytes
RevLine 
[c5c522c]1--- netkit-ftp-0.17/ftp/ftp.c.runique_mget      2004-12-07 12:05:49.360133092 +0100
2+++ netkit-ftp-0.17/ftp/ftp.c   2004-12-07 12:06:48.480883902 +0100
3@@ -923,7 +923,9 @@
4                                return;
5                        }
6                }
7-               else if (runique && (local = gunique(local)) == NULL) {
8+               else if (runique && (strcmp(cmd, "NLST") != 0) &&
9+                        (local = gunique(local)) == NULL)
10+               {
11                        (void) signal(SIGINT, oldintr);
12                        code = -1;
13                        return;
Note: See TracBrowser for help on using the repository browser.