[tor-commits] [tor/master] Be sure to call monotime_init() at startup.

nickm at torproject.org nickm at torproject.org
Tue Jul 19 09:42:34 UTC 2016


commit 1e3cf1cc8321ec29acaae6acb22340f0e2f5e9da
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Jul 19 11:40:21 2016 +0200

    Be sure to call monotime_init() at startup.
---
 src/or/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/or/main.c b/src/or/main.c
index 404d741..76af910 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -3646,6 +3646,8 @@ tor_main(int argc, char *argv[])
 #endif
   }
 
+  monotime_init();
+
   switch (get_options()->command) {
   case CMD_RUN_TOR:
 #ifdef NT_SERVICE





More information about the tor-commits mailing list