[or-cvs] remove a duplicate circuit_mark_for_close() when picking

Roger Dingledine arma at seul.org
Tue Mar 22 23:20:35 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	circuitbuild.c 
Log Message:
remove a duplicate circuit_mark_for_close() when picking
a path for the circuit fails.


Index: circuitbuild.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- circuitbuild.c	22 Mar 2005 01:01:15 -0000	1.91
+++ circuitbuild.c	22 Mar 2005 23:20:33 -0000	1.92
@@ -238,7 +238,6 @@
 //    || !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)



More information about the tor-commits mailing list