Prechádzať zdrojové kódy

Whoops; in this context the EV_TIMEOUT flag is needed

Nick Mathewson 8 rokov pred
rodič
commit
b91bd27e6f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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);
 }