mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Whoops; in this context the EV_TIMEOUT flag is needed
This commit is contained in:
parent
c113d19b53
commit
b91bd27e6f
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user