summaryrefslogtreecommitdiffstats
path: root/src/session.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-04-15 19:14:15 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-04-15 19:14:15 +0200
commit8b95328b1b397f425bf30d51da6a5c12a458f3ff (patch)
treea41800cdd5b32b36c708e764d6f64c15e38a0129 /src/session.c
parent644145a88caf0ff9cbfa16902c775b922578357b (diff)
downloadlibssh-8b95328b1b397f425bf30d51da6a5c12a458f3ff.tar.gz
libssh-8b95328b1b397f425bf30d51da6a5c12a458f3ff.tar.xz
libssh-8b95328b1b397f425bf30d51da6a5c12a458f3ff.zip
poll: Fix poll input events.
bug#38
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c
index 4623b4b5..18688c60 100644
--- a/src/session.c
+++ b/src/session.c
@@ -421,7 +421,7 @@ int ssh_handle_packets(ssh_session session, int timeout) {
spoll_in=ssh_socket_get_poll_handle_in(session->socket);
spoll_out=ssh_socket_get_poll_handle_out(session->socket);
if(session->server)
- ssh_poll_add_events(spoll_in, POLLIN | POLLERR);
+ ssh_poll_add_events(spoll_in, POLLIN);
ctx=ssh_poll_get_ctx(spoll_in);
if(ctx==NULL){
ctx=ssh_poll_get_default_ctx(session);