aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 1e19f6553..c6472a1a8 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1080,8 +1080,6 @@ static struct {
void
dirvote_recalculate_timing(time_t now)
{
- /* XXXX020 call this when inputs may have changed (i.e., whenver we get a
- * fresh consensus.) */
int interval, vote_delay, dist_delay;
time_t start;
time_t end;
@@ -1361,6 +1359,7 @@ dirvote_add_vote(const char *vote_body, const char **msg_out, int *status_out)
again:
vote = networkstatus_parse_vote_from_string(vote_body, &end_of_vote, 1);
if (!vote) {
+ log_warn(LD_DIR, "Couldn't parse vote: length was %d", strlen(vote_body));
*msg_out = "Unable to parse vote";
goto err;
}