diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-06-17 13:13:35 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-06-17 13:13:35 +0200 |
commit | 2a6341c08c358ad1888a620caf8502abf1ec654f (patch) | |
tree | 0813b8885053fb874e21dd5e693127817acd6fc4 /include/libssh/libssh.h | |
parent | 78e7873e920b7f3b697d3810cfbcb7220921f690 (diff) | |
download | libssh-2a6341c08c358ad1888a620caf8502abf1ec654f.tar.gz libssh-2a6341c08c358ad1888a620caf8502abf1ec654f.tar.xz libssh-2a6341c08c358ad1888a620caf8502abf1ec654f.zip |
socket: Fixed checks for max fd.
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index cf1c9d67..9e6fd0b0 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -129,6 +129,8 @@ typedef int socket_t; #endif #endif /* _WIN32 */ +#define INVALID_SOCKET_T ((socket_t) -1) + /* the offsets of methods */ enum ssh_kex_types_e { SSH_KEX=0, |