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

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