From 8b95328b1b397f425bf30d51da6a5c12a458f3ff Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 15 Apr 2011 19:14:15 +0200 Subject: poll: Fix poll input events. bug#38 --- src/poll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/poll.c') 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, -- cgit