Explorar o código

Whoops; in this context the EV_TIMEOUT flag is needed

Nick Mathewson %!s(int64=8) %!d(string=hai) anos
pai
achega
b91bd27e6f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/main.c

+ 1 - 1
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);
 }