summaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-06-08 09:20:58 +0000
committerRoger Dingledine <arma@torproject.org>2006-06-08 09:20:58 +0000
commita18766e50c05a89c6b575a032d11df6f7c8a286a (patch)
treed9cf9d9696496d8547b09753091a21dbbc54331a /src/or/rephist.c
parent91bd12c20df2c24d4248f244dbebb2bedee76599 (diff)
downloadtor-a18766e50c05a89c6b575a032d11df6f7c8a286a.tar.gz
tor-a18766e50c05a89c6b575a032d11df6f7c8a286a.zip
ah, that explains why we weren't going dormant with
respect to descriptor fetches. maybe now it will work. svn:r6565
Diffstat (limited to 'src/or/rephist.c')
-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 */