summaryrefslogtreecommitdiff
path: root/lib/select.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-06-04 21:19:14 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-06-04 21:19:14 +0200
commit4f170ee8f9c1d067022300df2da331c30dcda9dd (patch)
tree5734ca49661f8085638ab8255ac60448b2f61cb9 /lib/select.h
parentfba00c9f7be2dad06b8691952508882c4da14185 (diff)
downloadcurl-4f170ee8f9c1d067022300df2da331c30dcda9dd.tar.gz
Curl_socket_ready: make timeout a 'long'
It was mostly typecasted to int all over the code so switching to long instead all over should be a net gain.
Diffstat (limited to 'lib/select.h')
-rw-r--r--lib/select.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/select.h b/lib/select.h
index e431e5f07..e012c63f3 100644
--- a/lib/select.h
+++ b/lib/select.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -85,7 +85,7 @@ struct pollfd
#endif
int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd,
- int timeout_ms);
+ long timeout_ms);
int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);