aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-01-07 19:15:34 +0000
committerNick Mathewson <nickm@torproject.org>2008-01-07 19:15:34 +0000
commit177d5102d5766827649f889280f4c6c15335bc36 (patch)
treed493cfbef6bb59c9ec6b48097f014cca056f9e75 /src/or/dirvote.c
parenta62ab48d30bc26ba761752269d0129fe159d477f (diff)
downloadtor-177d5102d5766827649f889280f4c6c15335bc36.tar
tor-177d5102d5766827649f889280f4c6c15335bc36.tar.gz
r17503@catbus: nickm | 2008-01-07 14:15:30 -0500
Change set_current_consensus interface to take a flags variable. Do not try to fetch certificates until after we have tried loading the fallback consensus. Should fix bug 583. svn:r13058
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 7201af804..7a8f1adcb 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1850,7 +1850,7 @@ dirvote_publish_consensus(void)
return -1;
}
- if (networkstatus_set_current_consensus(pending_consensus_body, 0, 0))
+ if (networkstatus_set_current_consensus(pending_consensus_body, 0))
log_warn(LD_DIR, "Error publishing consensus");
else
log_notice(LD_DIR, "Consensus published.");