diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-04-15 19:14:15 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-04-15 19:14:15 +0200 |
commit | 8b95328b1b397f425bf30d51da6a5c12a458f3ff (patch) | |
tree | a41800cdd5b32b36c708e764d6f64c15e38a0129 /src/poll.c | |
parent | 644145a88caf0ff9cbfa16902c775b922578357b (diff) | |
download | libssh-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |