summaryrefslogtreecommitdiff
path: root/lib/http_proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http_proxy.c')
-rw-r--r--lib/http_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index 36567d36f..cdebe1cdc 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -313,7 +313,7 @@ static CURLcode CONNECT(struct connectdata *conn,
s->perline = 0;
} /* END CONNECT PHASE */
- check = Curl_timeleft(data, NULL, TRUE);
+ check = Curl_timeleft(data, TRUE);
if(check <= 0) {
failf(data, "Proxy CONNECT aborted due to timeout");
return CURLE_OPERATION_TIMEDOUT;