소스 검색

Whoops; in this context the EV_TIMEOUT flag is needed

Nick Mathewson 8 년 전
부모
커밋
b91bd27e6f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
 }