1
0
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:
Daniel Stenberg 2002-02-18 10:05:18 +00:00
parent e452f467d4
commit e21926f7f0

View File

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