diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index 34fc1e844..b1a2560b2 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -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; |