diff options
author | rofl0r <retnyg@gmx.net> | 2011-08-05 10:30:54 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-06 11:12:02 +0200 |
commit | 35686b4822c8a18d1d6715221be91ee67e563bad (patch) | |
tree | a64446fa2cdf524f4bb6cea701d94366b82a8a75 /src/auth.c | |
parent | 7ccd9c31b33798824b27e4af095b52b9026a1f98 (diff) | |
download | libssh-35686b4822c8a18d1d6715221be91ee67e563bad.tar.gz libssh-35686b4822c8a18d1d6715221be91ee67e563bad.tar.xz libssh-35686b4822c8a18d1d6715221be91ee67e563bad.zip |
client: Fix another source of endless wait.
Diffstat (limited to 'src/auth.c')
-rw-r--r-- | src/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -255,7 +255,7 @@ static int wait_auth_status(ssh_session session) { enter_function(); if(ssh_is_blocking(session)){ - if(ssh_handle_packets_termination(session,-1,auth_status_termination, + if(ssh_handle_packets_termination(session, -2, auth_status_termination, session) == SSH_ERROR){ leave_function(); return SSH_AUTH_ERROR; |