summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/rephist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index b4a05ea710..491a058d43 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -920,7 +920,7 @@ rep_hist_circbuilding_dormant(void)
{
/* Any ports used lately? These are pre-seeded if we just started
* up or if we're running a hidden service. */
- if (predicted_ports_list || predicted_internal_time)
+ if (smartlist_len(predicted_ports_list) || predicted_internal_time)
return 0;
/* see if we'll still need to build testing circuits */