[tor-commits] [tor/master] Whoops; in this context the EV_TIMEOUT flag is needed
nickm at torproject.org
nickm at torproject.org
Tue Nov 17 13:53:20 UTC 2015
commit b91bd27e6f94e76359097e1ec53494ea5168108d
Author: Nick Mathewson <nickm at torproject.org>
Date: Tue Nov 17 08:53:16 2015 -0500
Whoops; in this context the EV_TIMEOUT flag is needed
---
src/or/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/main.c b/src/or/main.c
index 9fc6035..afcb313 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1367,7 +1367,7 @@ initialize_periodic_events(void)
NAMED_CALLBACK(check_dns_honesty);
struct timeval one_second = { 1, 0 };
- event_base_once(tor_libevent_get_base(), -1, 0,
+ event_base_once(tor_libevent_get_base(), -1, EV_TIMEOUT,
initialize_periodic_events_cb, NULL,
&one_second);
}
More information about the tor-commits
mailing list