aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-10-13 18:28:39 +0000
committerNick Mathewson <nickm@torproject.org>2004-10-13 18:28:39 +0000
commitdf3098367cd4e17411310bece45fc2991a90b039 (patch)
treeff27660318763f5c8b512cc5b68de92d0b2f0bf9 /src/or/routerlist.c
parent918ce7a084a86b05c3d772e3f66f47f21ae73033 (diff)
downloadtor-df3098367cd4e17411310bece45fc2991a90b039.tar
tor-df3098367cd4e17411310bece45fc2991a90b039.tar.gz
Make directories get generated properly again; debug key lookup. Also, it is hard to find entries in a table when you never put them there.
svn:r2462
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 1bcaeb4ee..a3aa23182 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1159,6 +1159,7 @@ void add_trusted_dir_server(const char *addr, uint16_t port, const char *digest)
ent->dir_port = port;
ent->is_running = 1;
memcpy(ent->digest, digest, DIGEST_LEN);
+ smartlist_add(trusted_dir_servers, ent);
}
static void clear_trusted_dir_servers(void)