diff options
Diffstat (limited to 'ssh')
-rw-r--r-- | ssh/sshnc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh/sshnc.c b/ssh/sshnc.c index 7d1ad3e..872be2a 100644 --- a/ssh/sshnc.c +++ b/ssh/sshnc.c @@ -330,7 +330,7 @@ enum sshnc_retval sshnc_maybe_recv( if (client->is_closed) return SSHNC_EOF; - const int ret = ssh_event_dopoll(client->event, -1); + const int ret = ssh_event_dopoll(client->event, 0); if (ret == SSH_ERROR) { return SSHNC_ERR_POLL; } |