summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b97ea14eba..184bfb93c5 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -1585,7 +1585,8 @@ int circuit_extend(cell_t *cell, circuit_t *circ) {
NULL, 0, NULL);
return 0;
#endif
- return -1;
+ circuit_mark_for_close(circ);
+ return 0;
}
circ->n_addr = n_conn->addr; /* these are different if we found a twin instead */