aboutsummaryrefslogtreecommitdiff
path: root/src/server.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-10-03 21:36:03 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-10-03 21:36:03 +0200
commit5d1636985bd64c0499d9af120622ae7c2bdd83ca (patch)
treeecd4c1826f43c76ef313f7eadcf72e18f5314c63 /src/server.c
parent088b86d4fe8288ca0da1ee305be04285f5cd7da6 (diff)
downloadlibssh-5d1636985bd64c0499d9af120622ae7c2bdd83ca.tar.gz
libssh-5d1636985bd64c0499d9af120622ae7c2bdd83ca.tar.xz
libssh-5d1636985bd64c0499d9af120622ae7c2bdd83ca.zip
Resolved the server blocked bug
Diffstat (limited to 'src/server.c')
-rw-r--r--src/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.c b/src/server.c
index ee59cc9a..b6e082c4 100644
--- a/src/server.c
+++ b/src/server.c
@@ -682,6 +682,7 @@ int ssh_bind_accept(ssh_bind sshbind, ssh_session session) {
return SSH_ERROR;
}
ssh_socket_set_fd(session->socket, fd);
+ ssh_socket_get_poll_handle_out(session->socket);
session->dsa_key = dsa;
session->rsa_key = rsa;