Make output of router_get_trusted_dir_servers const

This commit is contained in:
Nick Mathewson
2012-09-07 22:55:53 -04:00
parent bd93ff8dd7
commit 194cc24792
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1478,7 +1478,7 @@ dirserv_set_cached_networkstatus_v2(const char *networkstatus,
time_t published)
{
cached_dir_t *d, *old_d;
smartlist_t *trusted_dirs;
const smartlist_t *trusted_dirs;
if (!cached_v2_networkstatus)
cached_v2_networkstatus = digestmap_new();