diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2004-10-06 13:24:08 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2004-10-06 13:24:08 +0000 |
commit | a91a75355d863e6aeb849f0de9169234217990bc (patch) | |
tree | e02cd63327fc7d829593c54ecae38a1ed8fb73b3 /docs/examples | |
parent | 01acbfa1a52ac571f32f2ee21279c664dc57eff3 (diff) |
*** empty log message ***
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/multi-app.c | 4 |
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]); |