[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r10140: When we are reporting the DirServer line we just parsed, we (in tor/trunk: . src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r10140: When we are reporting the DirServer line we just parsed, we (in tor/trunk: . src/or)
- From: arma@xxxxxxxx
- Date: Tue, 8 May 2007 06:33:57 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 08 May 2007 06:34:07 -0400
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: arma
Date: 2007-05-08 06:33:46 -0400 (Tue, 08 May 2007)
New Revision: 10140
Modified:
tor/trunk/ChangeLog
tor/trunk/src/or/config.c
Log:
When we are reporting the DirServer line we just parsed, we were
logging the second stanza of the key fingerprint, not the first.
Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog 2007-05-08 10:11:53 UTC (rev 10139)
+++ tor/trunk/ChangeLog 2007-05-08 10:33:46 UTC (rev 10140)
@@ -111,6 +111,8 @@
- Fix a bug in dirserv_remove_invalid() that would cause authorities to
corrupt memory under some really unlikely scenarios.
- Add even more asserts to hunt down bug 417.
+ - When we are reporting the DirServer line we just parsed, we were
+ logging the second stanza of the key fingerprint, not the first.
o Minor bugfixes (controller), reported by daejees:
- Make 'getinfo fingerprint' return a 551 error if we're not a
Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c 2007-05-08 10:11:53 UTC (rev 10139)
+++ tor/trunk/src/or/config.c 2007-05-08 10:33:46 UTC (rev 10140)
@@ -3554,7 +3554,7 @@
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);