summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-17 08:53:16 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-17 08:53:16 -0500
commitb91bd27e6f94e76359097e1ec53494ea5168108d (patch)
tree0b44b7e96697e6b510d0428e937d1980d4154404 /src/or/main.c
parentc113d19b53085f0218f892829839817add071576 (diff)
downloadtor-b91bd27e6f94e76359097e1ec53494ea5168108d.tar.gz
tor-b91bd27e6f94e76359097e1ec53494ea5168108d.zip
Whoops; in this context the EV_TIMEOUT flag is needed
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
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);
}