From: Nick Mathewson Date: Tue, 17 Nov 2015 13:53:16 +0000 (-0500) Subject: Whoops; in this context the EV_TIMEOUT flag is needed X-Git-Tag: tor-0.2.8.1-alpha~237 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b91bd27e6f94e76359097e1ec53494ea5168108d;p=thirdparty%2Ftor.git Whoops; in this context the EV_TIMEOUT flag is needed --- diff --git a/src/or/main.c b/src/or/main.c index 9fc6035076..afcb313574 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); }