]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
When we are reporting the DirServer line we just parsed, we were
authorRoger Dingledine <arma@torproject.org>
Tue, 8 May 2007 10:33:46 +0000 (10:33 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 8 May 2007 10:33:46 +0000 (10:33 +0000)
logging the second stanza of the key fingerprint, not the first.

svn:r10140

ChangeLog
src/or/config.c

index 4c35c93350980be76a875f8116a5d09567998f04..2fb97a35e911e42cd546ea2c2b3d754c50a815b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -111,6 +111,8 @@ Changes in version 0.2.0.1-alpha - 2007-??-??
     - 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
index f1b56373839aedd3144aadd62eb696b1a00acdd9..c00399b93e7b07f680b2f17f78a4aca43bc10b46 100644 (file)
@@ -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);