aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-05-08 10:33:46 +0000
committerRoger Dingledine <arma@torproject.org>2007-05-08 10:33:46 +0000
commitd136f2a7b2754d4c7e5dd3395c9f4bcd2acaca94 (patch)
treea3d9378cf68ada052518d2f95aeea96cbaef647e /src
parent54f5ab39b331a39081d568d4d4fc5d5e56ce4565 (diff)
downloadtor-d136f2a7b2754d4c7e5dd3395c9f4bcd2acaca94.tar
tor-d136f2a7b2754d4c7e5dd3395c9f4bcd2acaca94.tar.gz
When we are reporting the DirServer line we just parsed, we were
logging the second stanza of the key fingerprint, not the first. svn:r10140
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index f1b563738..c00399b93 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3554,7 +3554,7 @@ parse_dir_server_line(const char *line, int validate_only)
if (!validate_only) {
log_debug(LD_DIR, "Trusted dirserver at %s:%d (%s)", address,
(int)dir_port,
- (char*)smartlist_get(items,1));
+ (char*)smartlist_get(items,0));
add_trusted_dir_server(nickname, address, dir_port, or_port, digest,
is_v1_authority, is_v2_authority,
is_bridge_authority, is_hidserv_authority);