1
0
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:
Simon Tatham 2023-06-07 07:29:39 +01:00
commit b60e62b724

View File

@ -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)