[tor-commits] [tor/master] Improve a notice message in dirvote.c. (Roger asked for this.)

nickm at torproject.org nickm at torproject.org
Sat Dec 27 00:17:30 UTC 2014


commit 38af3b983fd4a80787d0ccd7c459084f2214464b
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Dec 26 19:14:56 2014 -0500

    Improve a notice message in dirvote.c. (Roger asked for this.)
---
 src/or/dirvote.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index c606822..322596e 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -2710,7 +2710,7 @@ dirvote_add_vote(const char *vote_body, const char **msg_out, int *status_out)
           goto discard;
         } else if (v->vote->published < vote->published) {
           log_notice(LD_DIR, "Replacing an older pending vote from this "
-                     "directory.");
+                     "directory (%s)", vi->address);
           cached_dir_decref(v->vote_body);
           networkstatus_vote_free(v->vote);
           v->vote_body = new_cached_dir(tor_strndup(vote_body,





More information about the tor-commits mailing list