Prechádzať zdrojové kódy

Mention the purpose field for leaked circuits.

Mike Perry 14 rokov pred
rodič
commit
5dbf99d9ff
1 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  1. 3 2
      src/or/circuituse.c

+ 3 - 2
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;
         }
       }