From 040a543f57107efc267b7b5b7352293dcb7d87d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Tue, 26 Apr 2011 15:59:48 -0700 Subject: [PATCH] socket: Fixed poll input event. --- src/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.c b/src/socket.c index 5097be9e..ba7db23c 100644 --- a/src/socket.c +++ b/src/socket.c @@ -771,7 +771,7 @@ int ssh_socket_connect_proxycommand(ssh_socket s, const char *command){ s->state=SSH_SOCKET_CONNECTED; s->fd_is_socket=0; /* POLLOUT is the event to wait for in a nonblocking connect */ - ssh_poll_set_events(ssh_socket_get_poll_handle_in(s),POLLIN | POLLERR); + ssh_poll_set_events(ssh_socket_get_poll_handle_in(s),POLLIN); ssh_poll_set_events(ssh_socket_get_poll_handle_out(s),POLLOUT); if(s->callbacks && s->callbacks->connected) s->callbacks->connected(SSH_SOCKET_CONNECTED_OK,0,s->callbacks->userdata);