aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES4
-rw-r--r--lib/multi.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index b563117ba..468369282 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,10 @@
Changelog
+Daniel Fandrich (7 Aug 2008)
+- Fixed an uninitialized variable in multi_runsingle() that could cause a
+ request to prematurely end.
+
Yang Tse (7 Aug 2008)
- Added curlbuild.h and curlrules.h header files to libcurl's public headers.
File curlbuild.h is a generated file on configure-capable systems. This is
diff --git a/lib/multi.c b/lib/multi.c
index f0a7bfb31..a2a4eb50b 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -871,7 +871,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
bool async;
bool protocol_connect = FALSE;
bool dophase_done;
- bool done;
+ bool done = FALSE;
CURLMcode result = CURLM_OK;
struct SingleRequest *k;