]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
patch from karsten to make vote logs more useful
authorRoger Dingledine <arma@torproject.org>
Thu, 24 Jan 2008 19:48:16 +0000 (19:48 +0000)
committerRoger Dingledine <arma@torproject.org>
Thu, 24 Jan 2008 19:48:16 +0000 (19:48 +0000)
svn:r13260

src/or/dirvote.c

index f77dced4aa4aa4b110674f68da1f38efe2b058f5..45eb7636e7d2579162089c1a7d53fc313cdda7d2 100644 (file)
@@ -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;
   }