Browse Source

ug no, the RIGHT fix.

Nick Mathewson 7 years ago
parent
commit
53f9f71985
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/compat_time.c

+ 1 - 1
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);