瀏覽代碼

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. */