summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-08-13 23:23:06 +0000
committerNick Mathewson <nickm@torproject.org>2007-08-13 23:23:06 +0000
commitb6c548094c19c9003b02f239e4c0575922c68e11 (patch)
tree8b423610027a4f6cb534af268d5ec9d558848f93 /src/or/routerlist.c
parenta1ce60f9a662d9a4c9dee295eec888e6a243ab7d (diff)
downloadtor-b6c548094c19c9003b02f239e4c0575922c68e11.tar.gz
tor-b6c548094c19c9003b02f239e4c0575922c68e11.zip
r13998@kushana: nickm | 2007-08-13 19:20:28 -0400
Add some insanely verbose log messages on voting authorities. svn:r11097
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 41d2888a0f..b60989de67 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3868,11 +3868,14 @@ networkstatus_set_current_consensus(const char *consensus, int from_cache)
networkstatus_vote_t *c;
/* Make sure it's parseable. */
c = networkstatus_parse_vote_from_string(consensus, 0);
- if (!c)
+ if (!c) {
+ log_warn(LD_DIR, "Unable to parse networkstatus consensus");
return -1;
+ }
/* Make sure it's signed enough. */
if (networkstatus_check_consensus_signature(c)<0) {
+ log_warn(LD_DIR, "Not enough good signatures on networkstatus consensus");
networkstatus_vote_free(c);
return -1;
}