]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
r15793@catbus: nickm | 2007-10-15 15:50:52 -0400
authorNick Mathewson <nickm@torproject.org>
Mon, 15 Oct 2007 19:51:14 +0000 (19:51 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 15 Oct 2007 19:51:14 +0000 (19:51 +0000)
 Do not set "have published consensus" to 1 after we recalculate timing.

svn:r11951

src/or/dirvote.c

index cd9cfac53fdf4d400b0f3de66b101b690c177ecc..44a1edcb3cf839beb11d616006303f82b8f2ea39 100644 (file)
@@ -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;
   }
 }