]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - psftp.c
Close the remote file handle if sftp_put_file's fstat fails.
authorSimon Tatham <anakin@pobox.com>
Sat, 20 Dec 2014 16:53:01 +0000 (16:53 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 20 Dec 2014 16:59:55 +0000 (16:59 +0000)
commitdd0f1e5cc7c5cc52d36a7c8e2fc6434887fd165e
tree17f8b533ce4bb68ed74194a159dd367261aeae53
parent8c09f85a64ff31d05f37304a041fd766507a19f0
Close the remote file handle if sftp_put_file's fstat fails.

Instead of abruptly returning from sftp_put_file in that situation, we
now send an FXP_CLOSE instead. Patch due to Tim Kosse.
psftp.c