[tor/master] Whoops; in this context the EV_TIMEOUT flag is needed

17 Nov
2015
17 Nov
'15
1:53 p.m.
commit b91bd27e6f94e76359097e1ec53494ea5168108d Author: Nick Mathewson <nickm@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); }
3492
Age (days ago)
3492
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org