summaryrefslogtreecommitdiffstats
path: root/src/poll.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/poll.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/poll.c')
-rw-r--r--src/poll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poll.c b/src/poll.c
index 094d839..ed2924c 100644
--- a/src/poll.c
+++ b/src/poll.c
@@ -303,7 +303,7 @@ int ssh_poll(ssh_pollfd_t *fds, nfds_t nfds, int timeout) {
*
* @param fd Socket that will be polled.
* @param events Poll events that will be monitored for the socket. i.e.
- * POLLIN, POLLPRI, POLLOUT, POLLERR, POLLHUP, POLLNVAL
+ * POLLIN, POLLPRI, POLLOUT
* @param cb Function to be called if any of the events are set.
* The prototype of cb is:
* int (*ssh_poll_callback)(ssh_poll_handle p, socket_t fd,
@@ -750,7 +750,7 @@ static int ssh_event_fd_wrapper_callback(ssh_poll_handle p, socket_t fd, int rev
* @param event The ssh_event
* @param fd Socket that will be polled.
* @param events Poll events that will be monitored for the socket. i.e.
- * POLLIN, POLLPRI, POLLOUT, POLLERR, POLLHUP, POLLNVAL
+ * POLLIN, POLLPRI, POLLOUT
* @param cb Function to be called if any of the events are set.
* The prototype of cb is:
* int (*ssh_event_callback)(socket_t fd, int revents,