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

The variable "packet" needs to be in LIBSSH2_SFTP_HANDLE for re-entry when

blocking in libssh2_sftp_close_handle()
This commit is contained in:
James Housley
2007-07-09 15:11:37 +00:00
parent 50fd6590f0
commit a87fdff9e9
2 changed files with 9 additions and 6 deletions

View File

@@ -487,6 +487,7 @@ struct _LIBSSH2_SFTP_HANDLE {
/* State variables used in libssh2_sftp_close_handle() */
libssh2_nonblocking_states close_state;
unsigned long close_request_id;
unsigned char *close_packet;
};
struct _LIBSSH2_SFTP {