1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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

This commit is contained in:
Daniel Stenberg 2002-08-12 12:01:57 +00:00
parent c74cb59e08
commit 30b7a9f172

View File

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