]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Another event2 evdns fix.
authorNick Mathewson <nickm@torproject.org>
Tue, 13 Oct 2009 22:57:25 +0000 (18:57 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 13 Oct 2009 22:57:25 +0000 (18:57 -0400)
src/or/dns.c

index 6021ca5f481461b422c7fdc7b010ccf0eb64e35f..ffd30c89d800a801a5d914666f2b39f1bbb8c1f9 100644 (file)
@@ -1622,7 +1622,8 @@ dns_launch_correctness_checks(void)
   /* Wait a while before launching requests for test addresses, so we can
    * get the results from checking for wildcarding. */
   if (! launch_event)
-    launch_event = tor_evtimer_new(NULL, launch_test_addresses, NULL);
+    launch_event = tor_evtimer_new(tor_libevent_get_base(),
+                                   launch_test_addresses, NULL);
   timeout.tv_sec = 30;
   timeout.tv_usec = 0;
   if (evtimer_add(launch_event, &timeout)<0) {