mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05: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 */
|
||||
if(data->set.timeout &&
|
||||
(data->set.timeout>data->set.connecttimeout))
|
||||
(data->set.timeout < data->set.connecttimeout))
|
||||
timeout_ms = data->set.timeout*1000;
|
||||
else
|
||||
timeout_ms = data->set.connecttimeout*1000;
|
||||
|
Loading…
Reference in New Issue
Block a user