Procházet zdrojové kódy

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

Nick Mathewson před 15 roky
rodič
revize
404af59ed5
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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. */