[or-cvs] r10140: When we are reporting the DirServer line we just parsed, we (in tor/trunk: . src/or)

arma at seul.org arma at seul.org
Tue May 8 10:33:57 UTC 2007


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);



More information about the tor-commits mailing list