[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Whoops; in this context the EV_TIMEOUT flag is needed
commit b91bd27e6f94e76359097e1ec53494ea5168108d
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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);
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits