From bac66ec26ba60e371afd811214f5462ff7402789 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 22 Aug 2006 06:29:21 +0000 Subject: as Jeff Pohlmeyer pointed out, first get the multi handle _then_ use it --- hiper/hipev.c | 6 +++--- 1 file 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; -- cgit v1.2.3