Explorar el Código

ug no, the RIGHT fix.

Nick Mathewson hace 7 años
padre
commit
53f9f71985
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);