summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}