aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-12-11 12:52:21 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-12-11 15:43:20 +0100
commitecb2e194d45c92e430bcf133fcee85a8a336cfcb (patch)
treeddcf576c7fd5dc1841b9d4edc1c1ab65a2620249
parent1568d710cd329184566cf08eeb7974459179b545 (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
-rw-r--r--lib/multi.c4
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;