]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Mention the purpose field for leaked circuits.
authorMike Perry <mikeperry-git@fscked.org>
Thu, 17 Jun 2010 01:13:27 +0000 (18:13 -0700)
committerMike Perry <mikeperry-git@fscked.org>
Thu, 17 Jun 2010 01:13:27 +0000 (18:13 -0700)
src/or/circuituse.c

index 0187448aaae31e3d4d0cc9a83bbb37cd16e2fb1c..c1b39b18e719505c3dfacae4cc37f2bcd4e55110 100644 (file)
@@ -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;
         }
       }