Skip to content
Snippets Groups Projects
Commit bac66ec2 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

as Jeff Pohlmeyer pointed out, first get the multi handle _then_ use it

parent 77516822
No related branches found
No related tags found
No related merge requests found
......@@ -330,12 +330,12 @@ int main(int argc, char **argv)
printf("About to do %d connections\n", num_total);
/* initialize the timeout event */
evtimer_set(&timerevent, timercallback, multi_handle);
/* init the multi stack */
multi_handle = curl_multi_init();
/* initialize the timeout event */
evtimer_set(&timerevent, timercallback, multi_handle);
for(i=0; i< num_total; i++) {
CURL *e;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment