aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index ebffadd839..3b99c3e7ef 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -570,7 +570,7 @@ router_pick_directory_server_impl(int requireother, int fascistfirewall,
result = smartlist_choose(tunnel);
} else if (smartlist_len(overloaded_tunnel)) {
result = smartlist_choose(overloaded_tunnel);
- } else if (trusted_tunnel) {
+ } else if (smartlist_len(trusted_tunnel)) {
/* FFFF We don't distinguish between trusteds and overloaded trusteds
* yet. Maybe one day we should. */
result = smartlist_choose(trusted_tunnel);