mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-09 23:33:46 -05:00
Jacob points out that I introduced a bug in PSFTP when I did the
timing shakeup: just running `psftp' caused the net/stdin select loop (on both Unix and Windows) to get confused at the lack of any network connection and give up immediately. Should now be fixed. [originally from svn r4993]
This commit is contained in:
9
psftp.h
9
psftp.h
@ -35,8 +35,15 @@ int ssh_sftp_loop_iteration(void);
|
||||
/*
|
||||
* Read a command line for PSFTP from standard input. Caller must
|
||||
* free.
|
||||
*
|
||||
* If `backend_required' is TRUE, should also listen for activity
|
||||
* at the backend (rekeys, clientalives, unexpected closures etc)
|
||||
* and respond as necessary, and if the backend closes it should
|
||||
* treat this as a failure condition. If `backend_required' is
|
||||
* FALSE, a back end is not (intentionally) active at all (e.g.
|
||||
* psftp before an `open' command).
|
||||
*/
|
||||
char *ssh_sftp_get_cmdline(char *prompt);
|
||||
char *ssh_sftp_get_cmdline(char *prompt, int backend_required);
|
||||
|
||||
/*
|
||||
* The main program in psftp.c. Called from main() in the platform-
|
||||
|
Reference in New Issue
Block a user