diff options
| author | Andreas Schneider <asn@cynapses.org> | 2010-06-17 13:25:45 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@cynapses.org> | 2010-06-17 13:35:40 +0200 |
| commit | 4c679fd8a640b841609a40bb4d13a49b3f85d87a (patch) | |
| tree | 2905c25b18f1f04c5d15fd0b1092ad5b6afc88c8 /include | |
| parent | 21d918c68aab56111df7dee7879a6b21427b7a2f (diff) | |
| download | libssh-4c679fd8a640b841609a40bb4d13a49b3f85d87a.tar.gz libssh-4c679fd8a640b841609a40bb4d13a49b3f85d87a.tar.xz libssh-4c679fd8a640b841609a40bb4d13a49b3f85d87a.zip | |
poll: Fixed type of the fd variables and use SSH_INVALID_SOCKET.
Diffstat (limited to 'include')
| -rw-r--r-- | include/libssh/poll.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
