Commit 30b7a9f1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

fixed a Curl_connecthost() bug, we should default to set connected to false

parent c74cb59e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -427,6 +427,9 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
   * Figure out what maximum time we have left
   *************************************************************/
  long timeout_ms=300000; /* milliseconds, default to five minutes */

  *connected = FALSE; /* default to not connected */

  if(data->set.timeout || data->set.connecttimeout) {
    double has_passed;