aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-10-13 18:57:25 -0400
committerNick Mathewson <nickm@torproject.org>2009-10-13 18:57:25 -0400
commit71cdd99dd748e4430572ab9a2e5f2821fb28c480 (patch)
tree9fc00688a00a738d0c7c60b85cf1343020dede39 /src/or
parent81eee0ecfff3dac1e9438719d2f7dc0ba7e84a71 (diff)
downloadtor-71cdd99dd748e4430572ab9a2e5f2821fb28c480.tar.gz
tor-71cdd99dd748e4430572ab9a2e5f2821fb28c480.zip
Another event2 evdns fix.
Diffstat (limited to 'src/or')
-rw-r--r--src/or/dns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 6021ca5f48..ffd30c89d8 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -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) {