aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2009-08-31 23:09:54 -0700
committerMike Perry <mikeperry-git@fscked.org>2009-09-16 15:51:17 -0700
commit95735e547838e05a574b55da00d3d04c1084452a (patch)
treebccefe514842acf8f6ba96d0e2c49ad072f512b1 /src/or/circuitlist.c
parent7ac9a66c8fb2ec369a7f99cc502200406f3760b2 (diff)
downloadtor-95735e547838e05a574b55da00d3d04c1084452a.tar
tor-95735e547838e05a574b55da00d3d04c1084452a.tar.gz
Fix the math.h log() conflict.
It was compiling, but causing segfaults. Also, adjust when the timer starts for new test circs and save state every 25 circuits.
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r--src/or/circuitlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 54bda9400..259666732 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -408,6 +408,8 @@ origin_circuit_new(void)
init_circuit_base(TO_CIRCUIT(circ));
+ circ_times.last_circ_at = approx_time();
+
return circ;
}