mirror of
https://github.com/libssh2/libssh2.git
synced 2025-10-31 23:30:25 +03:00
_libssh2_channel_write: general code cleanup
simplified the function and removed some unused struct fields
This commit is contained in:
@@ -398,9 +398,7 @@ struct _LIBSSH2_CHANNEL
|
||||
/* State variables used in libssh2_channel_write_ex() */
|
||||
libssh2_nonblocking_states write_state;
|
||||
unsigned char write_packet[13];
|
||||
unsigned char *write_s;
|
||||
size_t write_packet_len;
|
||||
size_t write_bufwrote;
|
||||
size_t write_bufwrite;
|
||||
|
||||
/* State variables used in libssh2_channel_close() */
|
||||
|
||||
Reference in New Issue
Block a user