Browse Source

Merge commit 'sebastian/bug2663' into maint-0.2.2

Roger Dingledine 13 years ago
parent
commit
600ad7bf8d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/dirvote.c

+ 1 - 1
src/or/dirvote.c

@@ -3080,7 +3080,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);