diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-11-11 16:52:19 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-11-11 16:52:19 +0000 |
commit | a84e7e26dc9d5590d786864e30c38432bfe7ac5f (patch) | |
tree | e2bd6477f2b928efae6ab59fe77ba0ae8878a0f5 /src/or | |
parent | b659adadd78c5e42ec66f6426ee0bd7482bb917f (diff) | |
download | tor-a84e7e26dc9d5590d786864e30c38432bfe7ac5f.tar.gz tor-a84e7e26dc9d5590d786864e30c38432bfe7ac5f.zip |
Backport: Only replace the detached signatures object when we actually added or replaced at least one signature.
svn:r17251
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/dirvote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index d3c1ce7bbf..6fc234bd34 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -1872,7 +1872,7 @@ dirvote_add_signatures_to_pending_consensus( sigs, msg_out); log_info(LD_DIR,"Added %d signatures to consensus.", r); - if (r >= 0) { + if (r >= 1) { char *new_detached = networkstatus_get_detached_signatures(pending_consensus); const char *src; |