mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
Fix bug #5, channel_read_nonblocking that blocks
This commit is contained in:
@@ -2502,7 +2502,7 @@ int ssh_channel_read(ssh_channel channel, void *dest, uint32_t count, int is_std
|
||||
int ssh_channel_read_nonblocking(ssh_channel channel, void *dest, uint32_t count,
|
||||
int is_stderr) {
|
||||
ssh_session session;
|
||||
uint32_t to_read;
|
||||
int to_read;
|
||||
int rc;
|
||||
|
||||
if(channel == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user