diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-01-31 09:38:24 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-01-31 09:38:24 -0500 |
commit | 80c8689be1d0b6d926752059b51966d398f7c184 (patch) | |
tree | 4ccf59dda0f9649528d9c28dbba646212e906ff1 /src/or/dirvote.c | |
parent | 94878cf1eaa59f4aae6bc88c93d55c4ecba1e0d9 (diff) | |
parent | 75d4bd34976536643b634f860b3d2c0e06d875ee (diff) | |
download | tor-80c8689be1d0b6d926752059b51966d398f7c184.tar.gz tor-80c8689be1d0b6d926752059b51966d398f7c184.zip |
Merge remote-tracking branch 'public/ticket24849_032'
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r-- | src/or/dirvote.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index a75d9e55a5..465c4148bc 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -3560,7 +3560,13 @@ dirvote_add_signatures_to_pending_consensus( } r = networkstatus_add_detached_signatures(pc->consensus, sigs, source, severity, msg_out); - log_info(LD_DIR,"Added %d signatures to consensus.", r); + if (r >= 0) { + log_info(LD_DIR,"Added %d signatures to consensus.", r); + } else { + log_fn(LOG_PROTOCOL_WARN, LD_DIR, + "Unable to add signatures to consensus: %s", + *msg_out ? *msg_out : "(unknown)"); + } if (r >= 1) { char *new_signatures = |