From 4c679fd8a640b841609a40bb4d13a49b3f85d87a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 17 Jun 2010 13:25:45 +0200 Subject: poll: Fixed type of the fd variables and use SSH_INVALID_SOCKET. --- include/libssh/poll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libssh') diff --git a/include/libssh/poll.h b/include/libssh/poll.h index b9e6494a..d3a744f3 100644 --- a/include/libssh/poll.h +++ b/include/libssh/poll.h @@ -92,7 +92,7 @@ typedef struct ssh_poll_handle_struct *ssh_poll_handle; * @return 0 on success, < 0 if you removed the poll object from * it's poll context. */ -typedef int (*ssh_poll_callback)(ssh_poll_handle p, int fd, int revents, +typedef int (*ssh_poll_callback)(ssh_poll_handle p, socket_t fd, int revents, void *userdata); -- cgit