]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Backport fix for time-goes-forward test. Fix bug 1267
authorNick Mathewson <nickm@torproject.org>
Tue, 2 Mar 2010 15:40:21 +0000 (10:40 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 2 Mar 2010 15:40:21 +0000 (10:40 -0500)
src/or/test.c

index b451638c2894d37c223bbf3da269fde319f76eee..6b7066c38552a727fc4f75136cda0caa35c35e68 100644 (file)
@@ -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. */