diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-22 06:29:21 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-22 06:29:21 +0000 |
commit | bac66ec26ba60e371afd811214f5462ff7402789 (patch) | |
tree | 8499728e069461da1f77c7702e8e69bc5226dd36 /hiper | |
parent | 77516822f643849082fbcde2b0bff75f155f1142 (diff) |
as Jeff Pohlmeyer pointed out, first get the multi handle _then_ use it
Diffstat (limited to 'hiper')
-rw-r--r-- | hiper/hipev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hiper/hipev.c b/hiper/hipev.c index 050d7333d..6087f5b7d 100644 --- a/hiper/hipev.c +++ b/hiper/hipev.c @@ -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; |