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:17:40 +0200
commitfc9c61714f4fc509320843bd0edd1cddbdd6943d (patch)
treedb624920b74ad7e5f5c36b0064a22f5d1e7a193e /src/poll.c
parente096658df3b7b6a83a720babe2cdaee9b7329856 (diff)
downloadlibssh-fc9c61714f4fc509320843bd0edd1cddbdd6943d.tar.gz
libssh-fc9c61714f4fc509320843bd0edd1cddbdd6943d.tar.xz
libssh-fc9c61714f4fc509320843bd0edd1cddbdd6943d.zip
poll: Fix poll input events.
bug#38
Diffstat (limited to 'src/poll.c')
-rw-r--r--src/poll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/poll.c b/src/poll.c
index ab2fcc47..87988608 100644
--- a/src/poll.c
+++ b/src/poll.c
@@ -298,8 +298,9 @@ 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.
+ *
* @param userdata Userdata to be passed to the callback function. NULL if
* not needed.
*