From 7ee59512f875604eb468fb6f3d26e39290f781c9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 29 Oct 2017 13:13:23 +0100 Subject: timeleft: made two more users of Curl_timeleft use timediff_t --- lib/connect.c | 2 +- lib/http_proxy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/connect.c b/lib/connect.c index 787026942..218bbcc78 100755 --- a/lib/connect.c +++ b/lib/connect.c @@ -721,7 +721,7 @@ CURLcode Curl_is_connected(struct connectdata *conn, { struct Curl_easy *data = conn->data; CURLcode result = CURLE_OK; - time_t allow; + timediff_t allow; int error = 0; struct curltime now; int rc; diff --git a/lib/http_proxy.c b/lib/http_proxy.c index dff9d230a..0283c1f3f 100644 --- a/lib/http_proxy.c +++ b/lib/http_proxy.c @@ -188,7 +188,7 @@ static CURLcode CONNECT(struct connectdata *conn, CURLcode result; curl_socket_t tunnelsocket = conn->sock[sockindex]; bool closeConnection = FALSE; - time_t check; + timediff_t check; struct http_connect_state *s = conn->connect_state; #define SELECT_OK 0 -- cgit v1.2.3