From: Roger Dingledine Date: Tue, 22 Mar 2005 23:20:33 +0000 (+0000) Subject: remove a duplicate circuit_mark_for_close() when picking X-Git-Tag: tor-0.1.0.1-rc~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad5f5ddf7ee4c386fcd3e90542956a9e7a58e6b4;p=thirdparty%2Ftor.git remove a duplicate circuit_mark_for_close() when picking a path for the circuit fails. svn:r3822 --- diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index ce0127707a..67babbb87a 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -238,7 +238,6 @@ again: // || !CIRCUIT_IS_ORIGIN(circ)) { // wtf? -rd if (r < 0) { log_fn(LOG_INFO,"Generating cpath hop failed."); - circuit_mark_for_close(circ); return -1; } if (r == 0)