aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/circuit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c
index c4f51e79a..225c8e37c 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -926,6 +926,7 @@ void circuit_expire_unused_circuits(void) {
if(((tmpcirc->timestamp_dirty &&
tmpcirc->timestamp_dirty + options.NewCircuitPeriod < now) ||
(options.RunTesting &&
+ tmpcirc->cpath &&
tmpcirc->timestamp_created + TESTING_CIRCUIT_MAX_AGE < now))
&& !tmpcirc->p_conn
&& !tmpcirc->p_streams