mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
connection timeout comparison fix by Emil
This commit is contained in:
parent
e452f467d4
commit
e21926f7f0
@ -361,7 +361,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
|
|||||||
|
|
||||||
/* get the most strict timeout of the ones converted to milliseconds */
|
/* get the most strict timeout of the ones converted to milliseconds */
|
||||||
if(data->set.timeout &&
|
if(data->set.timeout &&
|
||||||
(data->set.timeout>data->set.connecttimeout))
|
(data->set.timeout < data->set.connecttimeout))
|
||||||
timeout_ms = data->set.timeout*1000;
|
timeout_ms = data->set.timeout*1000;
|
||||||
else
|
else
|
||||||
timeout_ms = data->set.connecttimeout*1000;
|
timeout_ms = data->set.connecttimeout*1000;
|
||||||
|
Loading…
Reference in New Issue
Block a user