[tor-commits] [tor/master] Turn off testing code for #9683.

nickm at torproject.org nickm at torproject.org
Wed Mar 26 14:32:23 UTC 2014


commit 6da2544f207a541b90a5c5fddbd038800e19d903
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Mar 26 10:31:56 2014 -0400

    Turn off testing code for #9683.
    
    (This wasn't supposed to get committed turned-on.)
---
 src/or/circuitlist.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index b1efde5..9313325 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -1077,15 +1077,15 @@ circuit_get_by_edge_conn(edge_connection_t *conn)
 void
 circuit_unlink_all_from_channel(channel_t *chan, int reason)
 {
-  circuit_t *circ;
   smartlist_t *detached = smartlist_new();
 
-#define DEBUG_CIRCUIT_UNLINK_ALL
+/* #define DEBUG_CIRCUIT_UNLINK_ALL */
 
   channel_unlink_all_circuits(chan, detached);
 
 #ifdef DEBUG_CIRCUIT_UNLINK_ALL
   {
+    circuit_t *circ;
     smartlist_t *detached_2 = smartlist_new();
     int mismatch = 0, badlen = 0;
 



More information about the tor-commits mailing list