diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-11-17 14:24:59 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-11-17 14:24:59 -0500 |
commit | e722ffa60508d4959566eb210aa8e2a00c6cf899 (patch) | |
tree | e0b5cc579336d408f74c3dc5675477859d304f22 /src | |
parent | 2ebd22152eeb5a9dcfc1a8c508ebd57a836290e1 (diff) | |
download | tor-e722ffa60508d4959566eb210aa8e2a00c6cf899.tar tor-e722ffa60508d4959566eb210aa8e2a00c6cf899.tar.gz |
Do not report a partially-successful detached signature add as failed.
Also, regenerate the detached-signature document whenever any signatures are
successfully added.
Diffstat (limited to 'src')
-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 5de5da198..448c1270c 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -2568,7 +2568,7 @@ dirvote_add_signatures_to_all_pending_consensuses( n_added += res; } - if (errors) { + if (errors && !n_added) { r = -1; goto err; } |