]> granicus.if.org Git - curl/commit
SFTP: close file before postquote
authorDaniel Stenberg <daniel@haxx.se>
Wed, 20 Apr 2011 21:37:29 +0000 (23:37 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 20 Apr 2011 21:37:29 +0000 (23:37 +0200)
commit3242abd87a1262eb202411078c71ea32c7f41cc1
tree456b3d53a886a5a0eca3afb6d7eb0ec42c7ef341
parent1b6df743f6335107ee1a09c34ddcd6ab0dc02266
SFTP: close file before postquote

Make sure that files are closed before the post quote commands run as if
they operate on the just transferred file they could otherwise easily
fail.

Patch by: Rajesh Naganathan (edited)
lib/ssh.c