mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 22:18:00 -05:00
multi: convert two timeout variables to timediff_t
The time_t type is unsigned on some systems and these variables are used to hold return values from functions that return timediff_t already. timediff_t is always a signed type. Closes #3363
This commit is contained in:
parent
1568d710cd
commit
ecb2e194d4
@ -1354,8 +1354,8 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
|||||||
CURLMcode rc;
|
CURLMcode rc;
|
||||||
CURLcode result = CURLE_OK;
|
CURLcode result = CURLE_OK;
|
||||||
struct SingleRequest *k;
|
struct SingleRequest *k;
|
||||||
time_t timeout_ms;
|
timediff_t timeout_ms;
|
||||||
time_t recv_timeout_ms;
|
timediff_t recv_timeout_ms;
|
||||||
timediff_t send_timeout_ms;
|
timediff_t send_timeout_ms;
|
||||||
int control;
|
int control;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user