aboutsummaryrefslogtreecommitdiff
path: root/src/bind.c
diff options
context:
space:
mode:
authorSanne Raymaekers <sraymaek@redhat.com>2018-10-25 18:38:32 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-10-25 18:49:29 +0200
commitced05eb6dbbd9a20f0b96a454203a8d158157123 (patch)
tree684ea99d98350a51ea1fae679b234802fc70c213 /src/bind.c
parentb796924fea7e61a4a8813acce9e510f2359aee34 (diff)
downloadlibssh-ced05eb6dbbd9a20f0b96a454203a8d158157123.tar.gz
libssh-ced05eb6dbbd9a20f0b96a454203a8d158157123.tar.xz
libssh-ced05eb6dbbd9a20f0b96a454203a8d158157123.zip
socket: Undouble socket fds
Signed-off-by: Sanne Raymaekers <sraymaek@redhat.com>
Diffstat (limited to 'src/bind.c')
-rw-r--r--src/bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bind.c b/src/bind.c
index b07dd574..63ef3a94 100644
--- a/src/bind.c
+++ b/src/bind.c
@@ -447,7 +447,7 @@ int ssh_bind_accept_fd(ssh_bind sshbind, ssh_session session, socket_t fd){
return SSH_ERROR;
}
ssh_socket_set_fd(session->socket, fd);
- ssh_socket_get_poll_handle_out(session->socket);
+ ssh_socket_get_poll_handle(session->socket);
/* We must try to import any keys that could be imported in case
* we are not using ssh_bind_listen (which is the other place