[or-cvs] take back half of my bugfix. comparing times sucks.
arma at seul.org
arma at seul.org
Sun Dec 4 21:59:17 UTC 2005
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
circuituse.c
Log Message:
take back half of my bugfix. comparing times sucks.
but leave the other half.
Index: circuituse.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuituse.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -d -r1.96 -r1.97
--- circuituse.c 4 Dec 2005 21:51:50 -0000 1.96
+++ circuituse.c 4 Dec 2005 21:59:15 -0000 1.97
@@ -241,7 +241,7 @@
/* c_rend_ready circs measure age since timestamp_dirty,
* because that's set when they switch purposes
*/
- if (!victim->rend_query[0] || victim->timestamp_dirty <= cutoff)
+ if (!victim->rend_query[0] || victim->timestamp_dirty > cutoff)
continue;
break;
case CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED:
More information about the tor-commits
mailing list