[or-cvs] r14164: fix r14162 so it was what i meant. sometimes precedence is s (tor/trunk/src/or)

arma at seul.org arma at seul.org
Mon Mar 24 07:24:09 UTC 2008


Author: arma
Date: 2008-03-24 03:24:09 -0400 (Mon, 24 Mar 2008)
New Revision: 14164

Modified:
   tor/trunk/src/or/circuituse.c
Log:
fix r14162 so it was what i meant. sometimes precedence is surprising!


Modified: tor/trunk/src/or/circuituse.c
===================================================================
--- tor/trunk/src/or/circuituse.c	2008-03-24 05:48:51 UTC (rev 14163)
+++ tor/trunk/src/or/circuituse.c	2008-03-24 07:24:09 UTC (rev 14164)
@@ -222,7 +222,8 @@
 
     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



More information about the tor-commits mailing list