summaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 15f802d0c3..7dce375c73 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -2044,7 +2044,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;