summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/circuit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c
index 0312b08504..8a463fedbe 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -873,7 +873,8 @@ int _circuit_mark_for_close(circuit_t *circ) {
* links worked and which didn't.
*/
if (circ->state != CIRCUIT_STATE_OPEN) {
- circuit_build_failed(circ); /* take actions if necessary */
+ if(circ->cpath) //XXX
+ circuit_build_failed(circ); /* take actions if necessary */
circuit_rep_hist_note_result(circ);
}