]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Turn off testing code for #9683.
authorNick Mathewson <nickm@torproject.org>
Wed, 26 Mar 2014 14:31:56 +0000 (10:31 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 26 Mar 2014 14:31:56 +0000 (10:31 -0400)
(This wasn't supposed to get committed turned-on.)

src/or/circuitlist.c

index b1efde5ad574650686c0ddab76c997d79fd3f2c7..93133255089f8b79be55ade6785245fa3534b7ff 100644 (file)
@@ -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;