[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] ug no, the RIGHT fix.



commit 53f9f719850065d0f0a300e97c386b9cf54d6c23
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Jul 21 15:29:56 2016 +0200

    ug no, the RIGHT fix.
---
 src/common/compat_time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/compat_time.c b/src/common/compat_time.c
index 77fdfc8..a50760e 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);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits