diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-11-19 14:03:19 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-11-19 14:03:19 +0000 |
commit | 765683403f27836d60bc7e210d22f93e8f63ace1 (patch) | |
tree | 6d8f8a820c6bda31ef8bae3ea519381dff210b55 /lib/select.c | |
parent | cca9fca89409a73f393d8de42b30572bba3d7a14 (diff) |
Curl_select() now uses curl_socket_t on socket arguments
Diffstat (limited to 'lib/select.c')
-rw-r--r-- | lib/select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/select.c b/lib/select.c index 0b5af2614..ee0437342 100644 --- a/lib/select.c +++ b/lib/select.c @@ -36,7 +36,7 @@ #ifdef WIN32 #define VALID_SOCK(s) (1) /* Win-sockets are not in range [0..FD_SETSIZE> */ #else -#define VALID_SOCK(s) ((s) >= 0) && ((s) < FD_SETSIZE)) +#define VALID_SOCK(s) (((s) >= 0) && ((s) < FD_SETSIZE)) #endif /* @@ -49,7 +49,7 @@ * 0 = timeout * CSELECT_IN | CSELECT_OUT | CSELECT_ERR */ -int Curl_select(int readfd, int writefd, int timeout_ms) +int Curl_select(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms) { #ifdef HAVE_POLL_FINE struct pollfd pfd[2]; |