mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Fix sftp_get_file returning success on failed transfers.
Due to the return variable 'ret' being shadowed in the transfer loop, errors in the transfer loop did not affect the final return value of sftp_get_file. This particularly affects psftp's batch mode (without passing the -be command-line argument), which would errorneously continue. The solution is to simply remove the shadowing declaration.
This commit is contained in:
parent
24a43404b4
commit
57e21d756e
Loading…
Reference in New Issue
Block a user