mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Merge PSFTP multiple-connections fixes from 'pre-0.79'.
This commit is contained in:
commit
b60e62b724
6
psftp.c
6
psftp.c
@ -1025,7 +1025,7 @@ int sftp_cmd_close(struct sftp_command *cmd)
|
||||
}
|
||||
do_sftp_cleanup();
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
void list_directory_from_sftp_warn_unsorted(void)
|
||||
@ -2387,6 +2387,10 @@ static void do_sftp_cleanup(void)
|
||||
sfree(homedir);
|
||||
homedir = NULL;
|
||||
}
|
||||
if (psftp_logctx) {
|
||||
log_free(psftp_logctx);
|
||||
psftp_logctx = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
int do_sftp(int mode, int modeflags, char *batchfile)
|
||||
|
Loading…
Reference in New Issue
Block a user