a ! goes a long way toward more helpful debug messages

svn:r1656
This commit is contained in:
Roger Dingledine 2004-04-17 10:04:00 +00:00
parent c9c86229ab
commit 26dd5c68b0

View File

@ -473,7 +473,7 @@ void circuit_expire_building(time_t now) {
/* some debug logs, to help track bugs */ /* some debug logs, to help track bugs */
if(victim->purpose >= CIRCUIT_PURPOSE_C_INTRODUCING && if(victim->purpose >= CIRCUIT_PURPOSE_C_INTRODUCING &&
victim->purpose <= CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED) { 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).", log_fn(LOG_DEBUG,"Considering %sopen purp %d to %s (clean).",
victim->state == CIRCUIT_STATE_OPEN ? "" : "non", victim->state == CIRCUIT_STATE_OPEN ? "" : "non",
victim->purpose, victim->build_state->chosen_exit); victim->purpose, victim->build_state->chosen_exit);