mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:33:36 +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
|
|
@ -138,7 +138,7 @@ CURLcode Curl_pp_easy_statemach(struct pingpong *pp)
|
|||
|
||||
rc = Curl_socket_ready(pp->sendleft?CURL_SOCKET_BAD:sock, /* reading */
|
||||
pp->sendleft?sock:CURL_SOCKET_BAD, /* writing */
|
||||
(int)interval_ms);
|
||||
interval_ms);
|
||||
|
||||
if(Curl_pgrsUpdate(conn))
|
||||
result = CURLE_ABORTED_BY_CALLBACK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue