summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index cdb8b8ef65..55a46686bc 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1426,7 +1426,7 @@ handle_control_extendcircuit(connection_t *conn, uint32_t len,
goto done;
}
- if (!zero_circ) {
+ if (zero_circ) {
/* start a new circuit */
circ = circuit_init(CIRCUIT_PURPOSE_C_GENERAL, 0, 0, 0);
}