diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-08 23:05:10 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-08 23:05:10 +0100 |
commit | 514ab6eed2b520d14a1dce783e3180db11f460a4 (patch) | |
tree | a17bcf8d1fbf2e042e33062415d0125c300e1ae1 /libssh/messages.c | |
parent | c41e3a8e68322e7cfea7afb6160b8af285f6ab47 (diff) | |
download | libssh-514ab6eed2b520d14a1dce783e3180db11f460a4.tar.gz libssh-514ab6eed2b520d14a1dce783e3180db11f460a4.tar.xz libssh-514ab6eed2b520d14a1dce783e3180db11f460a4.zip |
Fixed blocking bug in channel_poll
Diffstat (limited to 'libssh/messages.c')
-rw-r--r-- | libssh/messages.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/messages.c b/libssh/messages.c index b90b090..e52e3af 100644 --- a/libssh/messages.c +++ b/libssh/messages.c @@ -705,7 +705,7 @@ ssh_message ssh_message_get(ssh_session session) { ssh_message msg = NULL; enter_function(); do { - if (ssh_handle_packets(session) == SSH_ERROR) { + if (ssh_handle_packets(session,-1) == SSH_ERROR) { leave_function(); return NULL; } |