[or-cvs] r13547: Better debugging to track down bug 606. Also remove a break; (in tor/trunk: . src/or)
nickm at seul.org
nickm at seul.org
Sun Feb 17 19:51:34 UTC 2008
Author: nickm
Date: 2008-02-17 14:51:33 -0500 (Sun, 17 Feb 2008)
New Revision: 13547
Modified:
tor/trunk/
tor/trunk/src/or/routerlist.c
Log:
r14243 at tombo: nickm | 2008-02-17 14:51:26 -0500
Better debugging to track down bug 606. Also remove a break; that may have been the possible culprit
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r14243] on 49666b30-7950-49c5-bedf-9dc8f3168102
Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c 2008-02-17 19:26:55 UTC (rev 13546)
+++ tor/trunk/src/or/routerlist.c 2008-02-17 19:51:33 UTC (rev 13547)
@@ -151,6 +151,8 @@
break;
ds = trusteddirserver_get_by_v3_auth_digest(
cert->cache_info.identity_digest);
+ log_debug(LD_DIR, "Parsed certificate for %s",
+ ds ? ds->nickname : "unknown authority");
cl = get_cert_list(cert->cache_info.identity_digest);
@@ -162,10 +164,10 @@
/* we already have this one. continue. */
log_info(LD_DIR, "Skipping %s certificate for %s that we "
"already have.",
- from_store ? "cached" : "downloaded", ds->nickname);
+ from_store ? "cached" : "downloaded",
+ ds ? ds->nickname : "??");
authority_cert_free(cert);
found = 1;
- break;
}
});
More information about the tor-commits
mailing list