mirror of
https://github.com/curl/curl.git
synced 2026-07-25 10:47:45 +03:00
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.
This commit is contained in:
parent
fba00c9f7b
commit
4f170ee8f9
14 changed files with 26 additions and 28 deletions
|
|
@ -160,7 +160,7 @@ static int wait_ms(int timeout_ms)
|
|||
* CURL_CSELECT_IN | CURL_CSELECT_OUT | CURL_CSELECT_ERR
|
||||
*/
|
||||
int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd,
|
||||
int timeout_ms)
|
||||
long timeout_ms)
|
||||
{
|
||||
#ifdef HAVE_POLL_FINE
|
||||
struct pollfd pfd[2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue