mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
remove a duplicate circuit_mark_for_close() when picking
a path for the circuit fails. svn:r3822
This commit is contained in:
parent
a2ee01984a
commit
ad5f5ddf7e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user