summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-12-30 00:30:44 +0100
committerAndreas Schneider <asn@cynapses.org>2010-12-30 00:30:44 +0100
commitef91ac4ea0cdeae8ce712fe54219a706d4b0a8d3 (patch)
tree7e20bb12402514ee7ea736a2c35878d4b4b28810 /include
parent1646ce970cad7934a0dd661045fc323c649df61e (diff)
downloadlibssh-ef91ac4ea0cdeae8ce712fe54219a706d4b0a8d3.tar.gz
libssh-ef91ac4ea0cdeae8ce712fe54219a706d4b0a8d3.tar.xz
libssh-ef91ac4ea0cdeae8ce712fe54219a706d4b0a8d3.zip
socket: Fixed ssh_socket_fd_set prototype.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/socket.h b/include/libssh/socket.h
index 92fc1b09..ddd25f812 100644
--- a/include/libssh/socket.h
+++ b/include/libssh/socket.h
@@ -44,7 +44,7 @@ void ssh_socket_close(ssh_socket s);
int ssh_socket_write(ssh_socket s,const void *buffer, int len);
int ssh_socket_is_open(ssh_socket s);
int ssh_socket_fd_isset(ssh_socket s, fd_set *set);
-void ssh_socket_fd_set(ssh_socket s, fd_set *set, int *fd_max);
+void ssh_socket_fd_set(ssh_socket s, fd_set *set, socket_t *max_fd);
void ssh_socket_set_fd_in(ssh_socket s, socket_t fd);
void ssh_socket_set_fd_out(ssh_socket s, socket_t fd);
int ssh_socket_nonblocking_flush(ssh_socket s);