summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 5a35b25139..18d44199ff 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1025,7 +1025,7 @@ dirserv_set_cached_networkstatus_v2(const char *networkstatus,
digestmap_iter_get(iter, &ident, &val);
d = val;
if (d->published < oldest_published &&
- !router_get_trusteddirserver_by_digest(ident)) {
+ !router_digest_is_trusted_dir(ident)) {
oldest = ident;
oldest_published = d->published;
}