diff options
author | Sanne Raymaekers <sraymaek@redhat.com> | 2018-10-25 18:38:32 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-10-25 18:49:29 +0200 |
commit | ced05eb6dbbd9a20f0b96a454203a8d158157123 (patch) | |
tree | 684ea99d98350a51ea1fae679b234802fc70c213 /src/bind.c | |
parent | b796924fea7e61a4a8813acce9e510f2359aee34 (diff) | |
download | libssh-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |