aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/connect.c2
-rw-r--r--lib/http_proxy.c2
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