aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-15 19:51:14 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-15 19:51:14 +0000
commit516b913d5c8f5903630b1c2d5708ed1ea21ccf9a (patch)
treef55a28751122a0f646e3d395ec3dfaaa9df7ca7a /src
parentb14bb2d85c5190728d4a6e19f69c07a339c7e25a (diff)
downloadtor-516b913d5c8f5903630b1c2d5708ed1ea21ccf9a.tar
tor-516b913d5c8f5903630b1c2d5708ed1ea21ccf9a.tar.gz
r15793@catbus: nickm | 2007-10-15 15:50:52 -0400
Do not set "have published consensus" to 1 after we recalculate timing. svn:r11951
Diffstat (limited to 'src')
-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 cd9cfac53..44a1edcb3 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1137,10 +1137,10 @@ dirvote_act(time_t now)
log_notice(LD_DIR, "Time to publish the consensus and discard old votes");
dirvote_publish_consensus();
dirvote_clear_votes(0);
+ voting_schedule.have_published_consensus = 1;
/* XXXX020 we will want to try again later if we haven't got enough
* signatures yet. */
dirvote_recalculate_timing(now);
- voting_schedule.have_published_consensus = 1;
}
}