[or-cvs] r13260: patch from karsten to make vote logs more useful (tor/trunk/src/or)

arma at seul.org arma at seul.org
Thu Jan 24 19:48:17 UTC 2008


Author: arma
Date: 2008-01-24 14:48:16 -0500 (Thu, 24 Jan 2008)
New Revision: 13260

Modified:
   tor/trunk/src/or/dirvote.c
Log:
patch from karsten to make vote logs more useful


Modified: tor/trunk/src/or/dirvote.c
===================================================================
--- tor/trunk/src/or/dirvote.c	2008-01-24 17:31:26 UTC (rev 13259)
+++ tor/trunk/src/or/dirvote.c	2008-01-24 19:48:16 UTC (rev 13260)
@@ -1552,8 +1552,8 @@
     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;
   }



More information about the tor-commits mailing list