summaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-03-11 23:34:46 -0500
committerNick Mathewson <nickm@torproject.org>2011-03-11 23:34:46 -0500
commitd52a99dc77dc77008b871da8bb2f95995d1abb6a (patch)
tree03d461c69b5d1468f162984d3da21dab8def889f /src/or/dirvote.c
parent0b07b5dc989b50cb9fad82efe946f160713420cf (diff)
parentd34a5cdc597824e72453009ed209e5644f158e90 (diff)
downloadtor-d52a99dc77dc77008b871da8bb2f95995d1abb6a.tar.gz
tor-d52a99dc77dc77008b871da8bb2f95995d1abb6a.zip
Merge remote branch 'origin/maint-0.2.2'
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 1052da93c8..7ba6cca1b2 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -3073,7 +3073,7 @@ dirvote_compute_consensuses(void)
n_votes = smartlist_len(pending_vote_list);
if (n_votes <= n_voters/2) {
log_warn(LD_DIR, "We don't have enough votes to generate a consensus: "
- "%d of %d", n_votes, n_voters/2);
+ "%d of %d", n_votes, n_voters/2+1);
goto err;
}
tor_assert(pending_vote_list);