aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 5c8a46a743..5f7df4fb54 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1192,7 +1192,8 @@ void running_routers_free(running_routers_t *rr)
tor_free(rr);
}
-/** DOCDOC*/
+/** We've just got a running routers list in <b>rr</b>; update the
+ * status of the routers in <b>list</b>, and cache <b>rr</b> */
void
routerlist_set_runningrouters(routerlist_t *list, running_routers_t *rr)
{
@@ -1389,6 +1390,7 @@ add_trusted_dir_server(const char *address, uint16_t port, const char *digest)
smartlist_add(trusted_dir_servers, ent);
}
+/** Remove all members from the list of trusted dir servers. */
void clear_trusted_dir_servers(void)
{
if (trusted_dir_servers) {