[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/master 26/28] Mention the purpose field for leaked circuits.



Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
Date: Wed, 16 Jun 2010 18:13:27 -0700
Subject: Mention the purpose field for leaked circuits.
Commit: 5dbf99d9ff59e69c064acda31495486635f8b844

---
 src/or/circuituse.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 0187448..c1b39b1 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;
         }
       }
-- 
1.7.1