Patch from Tim Kosse: check back->exitcode() in both loops on
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 6 Jul 2008 12:24:56 +0000 (12:24 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 6 Jul 2008 12:24:56 +0000 (12:24 +0000)
commit2e528220e71dea5e16fcc877e061f983ab2d837e
treeeddadb85cf97917cdc22a5c0374d597cc39f7c28
parent20c2ef842b6b0bed1d569c05060f3cea526c3d35
Patch from Tim Kosse: check back->exitcode() in both loops on
ssh_sftp_loop_iteration(), not just one. Fixes exiting on a negative
response to the host key confirmation prompt on Windows (because
winsftp.c doesn't have the equivalent of uxsftp.c's no_fds_ok); on
Unix it worked already but gave a suboptimal error message, which is
fixed too by this patch.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8110 cda61777-01e9-0310-a592-d414129be87e
psftp.c