summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-01-24 19:48:16 +0000
committerRoger Dingledine <arma@torproject.org>2008-01-24 19:48:16 +0000
commitaca8d8fc03c8949b8b87c823c09d794403bf8056 (patch)
tree15f1cfeb7d470f679293fa589ec38a8b608e2eba
parentba7a37cf9406ac15e8f61ff7a95397893e49d50f (diff)
downloadtor-aca8d8fc03c8949b8b87c823c09d794403bf8056.tar.gz
tor-aca8d8fc03c8949b8b87c823c09d794403bf8056.zip
patch from karsten to make vote logs more useful
svn:r13260
-rw-r--r--src/or/dirvote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index f77dced4aa..45eb7636e7 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1552,8 +1552,8 @@ dirvote_add_vote(const char *vote_body, const char **msg_out, int *status_out)
char tbuf1[ISO_TIME_LEN+1], tbuf2[ISO_TIME_LEN+1];
format_iso_time(tbuf1, vote->valid_after);
format_iso_time(tbuf2, voting_schedule.interval_starts);
- log_warn(LD_DIR, "Rejecting vote with valid-after time of %s; we were "
- "expecting %s", tbuf1, tbuf2);
+ log_warn(LD_DIR, "Rejecting vote from %s with valid-after time of %s; "
+ "we were expecting %s", vi->address, tbuf1, tbuf2);
*msg_out = "Bad valid-after time";
goto err;
}