aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-07-19 11:40:21 +0200
committerNick Mathewson <nickm@torproject.org>2016-07-19 11:40:47 +0200
commit1e3cf1cc8321ec29acaae6acb22340f0e2f5e9da (patch)
treef9b3df0a640a0cf89a54e54e795ccb01b2a13383 /src/or/main.c
parent6ba415d4000712aecaf3d11903db5699f143569d (diff)
downloadtor-1e3cf1cc8321ec29acaae6acb22340f0e2f5e9da.tar.gz
tor-1e3cf1cc8321ec29acaae6acb22340f0e2f5e9da.zip
Be sure to call monotime_init() at startup.
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 404d741c38..76af910b3e 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