remove a duplicate circuit_mark_for_close() when picking

a path for the circuit fails.


svn:r3822
This commit is contained in:
Roger Dingledine 2005-03-22 23:20:33 +00:00
parent a2ee01984a
commit ad5f5ddf7e

View File

@ -238,7 +238,6 @@ again:
// || !CIRCUIT_IS_ORIGIN(circ)) { // wtf? -rd // || !CIRCUIT_IS_ORIGIN(circ)) { // wtf? -rd
if (r < 0) { if (r < 0) {
log_fn(LOG_INFO,"Generating cpath hop failed."); log_fn(LOG_INFO,"Generating cpath hop failed.");
circuit_mark_for_close(circ);
return -1; return -1;
} }
if (r == 0) if (r == 0)