diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-08-08 01:52:08 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-08-08 01:52:08 +0000 |
commit | e54209d643deeeee47a23d9247947b98ba6f0639 (patch) | |
tree | 3ef99d79d67817cb3558a911ee4e2a6ae99521d2 | |
parent | f6a958dc3abec9b6c1533fa6b867b57577c292a0 (diff) |
Fixed an uninitialized variable in multi_runsingle() that could cause a
request to prematurely end.
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | lib/multi.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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; |