Commit e21926f7 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

connection timeout comparison fix by Emil

parent e452f467
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;