d4963922a8
- stop adding a redundant but harmless call to initialize the gssapi internals
15 lines
511 B
Diff
15 lines
511 B
Diff
Fix mget when runique is enabled and the globbing patch has been applied.
|
|
diff -up krb5/src/appl/gssftp/ftp/ftp.c krb5/src/appl/gssftp/ftp/ftp.c
|
|
--- krb5/src/appl/gssftp/ftp/ftp.c
|
|
+++ krb5/src/appl/gssftp/ftp/ftp.c
|
|
@@ -1188,7 +1188,8 @@ void recvrequest(char *cmd, char *volati
|
|
return;
|
|
}
|
|
}
|
|
- else if (runique && (local = gunique(local)) == NULL) {
|
|
+ else if (runique && strcmp(cmd, "NLST") &&
|
|
+ (local = gunique(local)) == NULL) {
|
|
(void) signal(SIGINT, oldintr);
|
|
code = -1;
|
|
return;
|