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

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