[or-cvs] a ! goes a long way toward more helpful debug messages
Roger Dingledine
arma at seul.org
Sat Apr 17 10:04:02 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
circuit.c
Log Message:
a ! goes a long way toward more helpful debug messages
Index: circuit.c
===================================================================
RCS file: /home/or/cvsroot/src/or/circuit.c,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -d -r1.213 -r1.214
--- circuit.c 17 Apr 2004 01:33:04 -0000 1.213
+++ circuit.c 17 Apr 2004 10:04:00 -0000 1.214
@@ -473,7 +473,7 @@
/* some debug logs, to help track bugs */
if(victim->purpose >= CIRCUIT_PURPOSE_C_INTRODUCING &&
victim->purpose <= CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED) {
- if(victim->timestamp_dirty)
+ if(!victim->timestamp_dirty)
log_fn(LOG_DEBUG,"Considering %sopen purp %d to %s (clean).",
victim->state == CIRCUIT_STATE_OPEN ? "" : "non",
victim->purpose, victim->build_state->chosen_exit);
More information about the tor-commits
mailing list