aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2004-10-06 13:24:08 +0000
committerGisle Vanem <gvanem@broadpark.no>2004-10-06 13:24:08 +0000
commita91a75355d863e6aeb849f0de9169234217990bc (patch)
treee02cd63327fc7d829593c54ecae38a1ed8fb73b3
parent01acbfa1a52ac571f32f2ee21279c664dc57eff3 (diff)
*** empty log message ***
-rw-r--r--docs/examples/multi-app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/multi-app.c b/docs/examples/multi-app.c
index ecb7e3814..5383a40ae 100644
--- a/docs/examples/multi-app.c
+++ b/docs/examples/multi-app.c
@@ -98,8 +98,6 @@ int main(int argc, char **argv)
}
}
- curl_multi_cleanup(multi_handle);
-
/* See how the transfers went */
while ((msg = curl_multi_info_read(multi_handle, &msgs_left))) {
if (msg->msg == CURLMSG_DONE) {
@@ -120,6 +118,8 @@ int main(int argc, char **argv)
}
}
+ curl_multi_cleanup(multi_handle);
+
/* Free the CURL handles */
for (i=0; i<HANDLECOUNT; i++)
curl_easy_cleanup(handles[i]);