summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 2be061bcf4..773e8adb5c 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -895,7 +895,7 @@ options_act(or_options_t *old_options)
}
}
} else {
- if (!router_get_trusted_dir_servers())
+ if (!smartlist_len(router_get_trusted_dir_servers()))
add_default_trusted_dirservers();
}