summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 387df36fae..46d8ab20d5 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3568,6 +3568,7 @@ router_reset_descriptor_download_failures(void)
rs->n_download_failures = 0;
rs->next_attempt_at = 0;
});
+ tor_assert(networkstatus_list);
SMARTLIST_FOREACH(networkstatus_list, networkstatus_t *, ns,
SMARTLIST_FOREACH(ns->entries, routerstatus_t *, rs,
{