timeleft: made two more users of Curl_timeleft use timediff_t

This commit is contained in:
Daniel Stenberg 2017-10-29 13:13:23 +01:00
parent 1cb4f5d6e8
commit 7ee59512f8
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View 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