summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-07-21 15:29:56 +0200
committerNick Mathewson <nickm@torproject.org>2016-07-21 15:29:56 +0200
commit53f9f719850065d0f0a300e97c386b9cf54d6c23 (patch)
treec54d25245d5f7a2cc752024da4ba7d9e40b62d09
parent9c210d0e81016b493f1759141ddcbfeda7d5b5f9 (diff)
downloadtor-53f9f719850065d0f0a300e97c386b9cf54d6c23.tar.gz
tor-53f9f719850065d0f0a300e97c386b9cf54d6c23.zip
ug no, the RIGHT fix.
-rw-r--r--src/common/compat_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat_time.c b/src/common/compat_time.c
index 77fdfc86cd..a50760eb0e 100644
--- a/src/common/compat_time.c
+++ b/src/common/compat_time.c
@@ -536,8 +536,8 @@ void
monotime_init(void)
{
if (!monotime_initialized) {
- monotime_initialized = 1;
monotime_init_internal();
+ monotime_initialized = 1;
monotime_get(&initialized_at);
#ifdef MONOTIME_COARSE_FN_IS_DIFFERENT
monotime_coarse_get(&initialized_at_coarse);