summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-03-24 07:24:09 +0000
committerRoger Dingledine <arma@torproject.org>2008-03-24 07:24:09 +0000
commit13174b8f973587652f23d79a530cdd84a23ee34b (patch)
tree5bb8d5785e6f5b140cd4dffee4de5942099eb69a /src/or/circuituse.c
parenta9acdb8f53d408248ae6fa1b803a6c259a34854c (diff)
downloadtor-13174b8f973587652f23d79a530cdd84a23ee34b.tar.gz
tor-13174b8f973587652f23d79a530cdd84a23ee34b.zip
fix r14162 so it was what i meant. sometimes precedence is surprising!
svn:r14164
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 313a6c54d6..b014fab8f9 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -222,7 +222,8 @@ circuit_expire_building(time_t now)
build_state = TO_ORIGIN_CIRCUIT(victim)->build_state;
if (victim->timestamp_created >
- (build_state && build_state->onehop_tunnel) ? begindir_cutoff : cutoff)
+ ((build_state && build_state->onehop_tunnel) ?
+ begindir_cutoff : cutoff))
continue; /* it's still young, leave it alone */
#if 0