1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-02 10:53:16 +03:00

* Since the packet as already had data read from it, it can't retrun

PACKET_EAGAIN while reading the rest of it.
* Get the error message in libssh2_scp_recv() in the same manner as it
  was gotten in libssh2_scp_send_ex()
This commit is contained in:
James Housley
2007-07-05 15:31:19 +00:00
parent b53db3d3a9
commit 6ac790a477
3 changed files with 37 additions and 19 deletions

View File

@@ -790,6 +790,8 @@ struct _LIBSSH2_SESSION {
long scpRecv_size;
long scpRecv_mtime;
long scpRecv_atime;
char *scpRecv_err_msg;
long scpRecv_err_len;
LIBSSH2_CHANNEL *scpRecv_channel;
/* State variables used in libssh2_scp_send_ex() */