Selaa lähdekoodia

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

Nick Mathewson 15 vuotta sitten
vanhempi
commit
404af59ed5
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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. */