diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-01-23 08:38:05 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-01-23 08:38:05 +0000 |
commit | fc91704f78af7b7fa18e376a925ba4704b0d72d6 (patch) | |
tree | 1e4974b73c03856105fc545e59396e218e1081a3 /src/or/dirvote.c | |
parent | 9d1832dd5a27cad10ac4e0f0158d99e45b1f8d0c (diff) | |
download | tor-fc91704f78af7b7fa18e376a925ba4704b0d72d6.tar.gz tor-fc91704f78af7b7fa18e376a925ba4704b0d72d6.zip |
Log where uploaded consensus signatures come from
svn:r13241
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r-- | src/or/dirvote.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 328e05aa8a..6f28cea6d7 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -1823,14 +1823,15 @@ dirvote_add_signatures_to_pending_consensus( * consensus. Return negative on failure, nonnegative on success. */ int dirvote_add_signatures(const char *detached_signatures_body, + const char *source, const char **msg) { if (pending_consensus) { - log_notice(LD_DIR, "Got a signature. Adding it to the pending consensus."); + log_notice(LD_DIR, "Got a signature from %s. Adding it to the pending consensus.", source); return dirvote_add_signatures_to_pending_consensus( detached_signatures_body, msg); } else { - log_notice(LD_DIR, "Got a signature. Queueing it for the next consensus."); + log_notice(LD_DIR, "Got a signature from %s. Queueing it for the next consensus.", source); if (!pending_consensus_signature_list) pending_consensus_signature_list = smartlist_create(); smartlist_add(pending_consensus_signature_list, |