projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c74cb59
)
fixed a Curl_connecthost() bug, we should default to set connected to false
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 12 Aug 2002 12:01:57 +0000
(12:01 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 12 Aug 2002 12:01:57 +0000
(12:01 +0000)
lib/connect.c
patch
|
blob
|
history
diff --git
a/lib/connect.c
b/lib/connect.c
index 545062c66108d21e00b5fe3db9216e9e471ed177..9bbf8409c8c7504d64103272b54f18e9fda109fe 100644
(file)
--- a/
lib/connect.c
+++ b/
lib/connect.c
@@
-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;