Blame SOURCES/netkit-ftp-0.17-runique_mget.patch

09d58c
--- netkit-ftp-0.17/ftp/ftp.c.runique_mget	2004-12-07 12:05:49.360133092 +0100
09d58c
+++ netkit-ftp-0.17/ftp/ftp.c	2004-12-07 12:06:48.480883902 +0100
09d58c
@@ -923,7 +923,9 @@
09d58c
 				return;
09d58c
 			}
09d58c
 		}
09d58c
-		else if (runique && (local = gunique(local)) == NULL) {
09d58c
+		else if (runique && (strcmp(cmd, "NLST") != 0) && 
09d58c
+			 (local = gunique(local)) == NULL)
09d58c
+		{
09d58c
 			(void) signal(SIGINT, oldintr);
09d58c
 			code = -1;
09d58c
 			return;