summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-02-02 09:03:13 -0500
committerNick Mathewson <nickm@torproject.org>2017-02-02 09:03:13 -0500
commit6777cd0a8486a4930ec3020fdf31dc2be1c34f9b (patch)
treeac22c4fc2d0bf8084a97834c4f713d0db153f9d0 /src
parentb11f00c153dc6e107642258e1efe5a6daf641925 (diff)
parentd183ec231be0e3f560f844bf2d118e2c71bda25f (diff)
downloadtor-6777cd0a8486a4930ec3020fdf31dc2be1c34f9b.tar.gz
tor-6777cd0a8486a4930ec3020fdf31dc2be1c34f9b.zip
Merge remote-tracking branch 'public/bug21356_029'
Diffstat (limited to 'src')
-rw-r--r--src/or/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 24b209ce8a..5549f97998 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -3584,6 +3584,7 @@ tor_main(int argc, char *argv[])
update_approx_time(time(NULL));
tor_threads_init();
init_logging(0);
+ monotime_init();
#ifdef USE_DMALLOC
{
/* Instruct OpenSSL to use our internal wrappers for malloc,
@@ -3617,8 +3618,6 @@ tor_main(int argc, char *argv[])
#endif
}
- monotime_init();
-
switch (get_options()->command) {
case CMD_RUN_TOR:
#ifdef NT_SERVICE