diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-12-11 12:52:21 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-12-11 15:43:20 +0100 |
commit | ecb2e194d45c92e430bcf133fcee85a8a336cfcb (patch) | |
tree | ddcf576c7fd5dc1841b9d4edc1c1ab65a2620249 /lib/multi.c | |
parent | 1568d710cd329184566cf08eeb7974459179b545 (diff) |
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
Diffstat (limited to 'lib/multi.c')
-rw-r--r-- | lib/multi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c index 4ba22c46e..56b3faf2f 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1354,8 +1354,8 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, CURLMcode rc; CURLcode result = CURLE_OK; struct SingleRequest *k; - time_t timeout_ms; - time_t recv_timeout_ms; + timediff_t timeout_ms; + timediff_t recv_timeout_ms; timediff_t send_timeout_ms; int control; |