7cd32b4
Fix mget when runique is enabled and the globbing patch has been applied.
7cd32b4
diff -up krb5/src/appl/gssftp/ftp/ftp.c krb5/src/appl/gssftp/ftp/ftp.c
7cd32b4
--- krb5/src/appl/gssftp/ftp/ftp.c
7cd32b4
+++ krb5/src/appl/gssftp/ftp/ftp.c
7cd32b4
@@ -1188,7 +1188,8 @@ void recvrequest(char *cmd, char *volati
7cd32b4
 				return;
7cd32b4
 			}
7cd32b4
 		}
7cd32b4
-		else if (runique && (local = gunique(local)) == NULL) {
7cd32b4
+		else if (runique && strcmp(cmd, "NLST") &&
7cd32b4
+			 (local = gunique(local)) == NULL) {
7cd32b4
 			(void) signal(SIGINT, oldintr);
7cd32b4
 			code = -1;
7cd32b4
 			return;