From df3098367cd4e17411310bece45fc2991a90b039 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 13 Oct 2004 18:28:39 +0000 Subject: 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 --- src/or/routerlist.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/routerlist.c') diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 1bcaeb4ee2..a3aa231820 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) -- cgit v1.2.3-54-g00ecf