fix r14162 so it was what i meant. sometimes precedence is surprising!

svn:r14164
This commit is contained in:
Roger Dingledine 2008-03-24 07:24:09 +00:00
parent a9acdb8f53
commit 13174b8f97

View File

@ -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