aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-03-02 10:40:21 -0500
committerNick Mathewson <nickm@torproject.org>2010-03-02 10:40:21 -0500
commit404af59ed553e7c1f4cef6668b6832e0bd1a8956 (patch)
tree1d1da6bd1df99dc50c57f08f7ce6ad6ccca9b239 /src/or/test.c
parentc3e63483b2f16eb1717035eac4c14315b95671f5 (diff)
downloadtor-404af59ed553e7c1f4cef6668b6832e0bd1a8956.tar
tor-404af59ed553e7c1f4cef6668b6832e0bd1a8956.tar.gz
Backport fix for time-goes-forward test. Fix bug 1267
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/test.c b/src/or/test.c
index b451638c2..6b7066c38 100644
--- a/src/or/test.c
+++ b/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. */