diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-10-29 13:13:23 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-10-29 13:13:23 +0100 |
commit | 7ee59512f875604eb468fb6f3d26e39290f781c9 (patch) | |
tree | 1d05750a866a0688464fa6c8f1d780289b7965bc | |
parent | 1cb4f5d6e8e470638759a48ba99fda230089712f (diff) |
timeleft: made two more users of Curl_timeleft use timediff_t
-rwxr-xr-x | lib/connect.c | 2 | ||||
-rw-r--r-- | 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 |