aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-09-07 22:55:53 -0400
committerNick Mathewson <nickm@torproject.org>2012-12-06 11:15:01 -0500
commit194cc24792056952de00a67b4983c3cd4f683ce5 (patch)
tree4b87e51bf2c493d2cd5c59b2d89ad175b8e61d07 /src/or/dirserv.c
parentbd93ff8dd76b06ca3afe1f362b086d4f12639f71 (diff)
downloadtor-194cc24792056952de00a67b4983c3cd4f683ce5.tar.gz
tor-194cc24792056952de00a67b4983c3cd4f683ce5.zip
Make output of router_get_trusted_dir_servers const
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 c1ddf73ee4..8be436d916 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -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();