When we get an error writing to a local file, stop the download rather than
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 10 Apr 2007 21:46:44 +0000 (21:46 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 10 Apr 2007 21:46:44 +0000 (21:46 +0000)
commit51618e4b00c214bce6fc3c292b1eee5869e25aa7
tree952ee5f8e79efecdd14b0b984b722989b2cf0c0a
parent60f9c221129425dc1288a90116603dcdb5a588f9
When we get an error writing to a local file, stop the download rather than
pretending we just got -1 bytes.  Not actually tested, but it looks pretty
obvious.
Bug reported by dking wang.

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