Explorar o código

Backport fix for time-goes-forward test. Fix bug 1267

Nick Mathewson %!s(int64=15) %!d(string=hai) anos
pai
achega
404af59ed5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/or/test.c

+ 1 - 0
src/or/test.c

@@ -1294,6 +1294,7 @@ test_util(void)
     smartlist_free(sl);
   }
 
+  tor_gettimeofday(&start);
   /* now make sure time works. */
   tor_gettimeofday(&end);
   /* We might've timewarped a little. */