aboutsummaryrefslogtreecommitdiff
path: root/src/server.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-09-17 10:37:16 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-09-17 10:38:08 +0200
commitafa56e0102e84459e33e7f46544f1a4d843633d2 (patch)
tree342bf73eac06306091f24b38664fcb929e2863bd /src/server.c
parent544747d02cd4c8b6ad2b6e8a8bf35e0242ba2d2e (diff)
downloadlibssh-afa56e0102e84459e33e7f46544f1a4d843633d2.tar.gz
libssh-afa56e0102e84459e33e7f46544f1a4d843633d2.tar.xz
libssh-afa56e0102e84459e33e7f46544f1a4d843633d2.zip
session: Use defines for ssh_handle_packets().
Diffstat (limited to 'src/server.c')
-rw-r--r--src/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.c b/src/server.c
index 4a2ea2cc..97eb40f3 100644
--- a/src/server.c
+++ b/src/server.c
@@ -1081,7 +1081,7 @@ void ssh_set_message_callback(ssh_session session,
int ssh_execute_message_callbacks(ssh_session session){
ssh_message msg=NULL;
int ret;
- ssh_handle_packets(session, 0);
+ ssh_handle_packets(session, SSH_TIMEOUT_NONBLOCKING);
if(!session->ssh_message_list)
return SSH_OK;
if(session->ssh_message_callback){