aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2010-06-16 18:13:27 -0700
committerMike Perry <mikeperry-git@fscked.org>2010-06-16 18:13:27 -0700
commit5dbf99d9ff59e69c064acda31495486635f8b844 (patch)
treec89ec42863296d830563dade798fc6d8e35e3314 /src/or
parent2abe1ceccfacaa8deca3b7bb4caeb550572efd7f (diff)
downloadtor-5dbf99d9ff59e69c064acda31495486635f8b844.tar
tor-5dbf99d9ff59e69c064acda31495486635f8b844.tar.gz
Mention the purpose field for leaked circuits.
Diffstat (limited to 'src/or')
-rw-r--r--src/or/circuituse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 0187448aa..c1b39b18e 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -733,9 +733,10 @@ circuit_expire_old_circuits_clientside(time_t now)
} else if (!TO_ORIGIN_CIRCUIT(circ)->is_ancient) {
log_notice(LD_CIRC,
"Ancient non-dirty circuit %d is still around after "
- "%ld seconds.",
+ "%ld seconds. Purpose: %d",
TO_ORIGIN_CIRCUIT(circ)->global_identifier,
- now - circ->timestamp_created);
+ now - circ->timestamp_created,
+ circ->purpose);
TO_ORIGIN_CIRCUIT(circ)->is_ancient = 1;
}
}