]> granicus.if.org Git - curl/commitdiff
timeleft: made two more users of Curl_timeleft use timediff_t
authorDaniel Stenberg <daniel@haxx.se>
Sun, 29 Oct 2017 12:13:23 +0000 (13:13 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 29 Oct 2017 12:13:23 +0000 (13:13 +0100)
lib/connect.c
lib/http_proxy.c

index 7870269426200e58d22f016ed358fa7d49df360c..218bbcc78b0ea95d411e7e887ae05349251bed18 100755 (executable)
@@ -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;
index dff9d230a08a013486cf8f1f35308341b841a706..0283c1f3fa38c32f00535fcbd31a4f22855ec2c6 100644 (file)
@@ -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