Преглед изворни кода

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

Nick Mathewson пре 15 година
родитељ
комит
404af59ed5
1 измењених фајлова са 1 додато и 0 уклоњено
  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. */