]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix sftp_put_file returning success on failed transfers.
authorTim Kosse <tim.kosse@filezilla-project.org>
Wed, 28 Dec 2016 14:27:47 +0000 (15:27 +0100)
committerSimon Tatham <anakin@pobox.com>
Thu, 29 Dec 2016 11:18:03 +0000 (11:18 +0000)
commite9a76883adf4f36ff467441f365becc392e48f30
treec226a000f1134a1be3f00949df2b3e3a3bdd062a
parent57e21d756e22c0f80a8dbccfdbda761aeedfca2f
Fix sftp_put_file returning success on failed transfers.

Due to a shadowed variable, transfer failures were not reflected in the return
code to sftp_put_file. Instead of tracking the return code, use the 'err'
variable to decide which return code to use.
psftp.c