aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hiper/hipev.c6
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;