]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
scp_recv_filedata: handle EOF more sensibly.
authorSimon Tatham <anakin@pobox.com>
Wed, 15 Feb 2017 21:39:23 +0000 (21:39 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 15 Feb 2017 21:39:23 +0000 (21:39 +0000)
commit5d852585a1f00f130333d2350627ffb80014d4e2
treea1752ecaef05473acf1e7436ad435e42a01f674b
parent717129b0f240ce4cae7bded25cffe2857f760d5e
scp_recv_filedata: handle EOF more sensibly.

xfer_download_data could return actuallen as either 0 or -1 to
indicate EOF. Now it's always 0, and scp_recv_filedata actually checks
for that case and reports an error.
pscp.c
sftp.c