summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2013-03-26 20:28:19 -0700
committerMike Perry <mikeperry-git@fscked.org>2013-03-26 20:28:19 -0700
commit65c0489dd4f0e10230f5c2fbb772a58e03e939bb (patch)
tree8f7c9a9c30caa3d2d040cba257cb4cf87cd3aff8 /src/or/circuituse.c
parent72c651ebdd64d28e0bfe640e37979b84f524abad (diff)
downloadtor-65c0489dd4f0e10230f5c2fbb772a58e03e939bb.tar.gz
tor-65c0489dd4f0e10230f5c2fbb772a58e03e939bb.zip
Bug 6572: Use timestamp_created for liveness sanity checks.
This should eliminate potential regressions caused by #7341.
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index f02597e630..14576f13d6 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -671,7 +671,7 @@ circuit_expire_building(void)
circuit_purpose_to_string(victim->purpose));
} else if (circuit_build_times_count_close(&circ_times,
first_hop_succeeded,
- victim->timestamp_began.tv_sec)) {
+ victim->timestamp_created.tv_sec)) {
circuit_build_times_set_timeout(&circ_times);
}
}