aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-09 19:14:46 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-09 19:14:46 +0000
commit40b6a66c89e37e9b144bd433cb01c6664c5fdc85 (patch)
tree9e9267932d3f063c096446d751d93a04a0be01ad /src
parenta3d4c475151c37ae445b44b9c19f982e98e2a573 (diff)
downloadtor-40b6a66c89e37e9b144bd433cb01c6664c5fdc85.tar
tor-40b6a66c89e37e9b144bd433cb01c6664c5fdc85.tar.gz
r15589@catbus: nickm | 2007-10-09 15:08:00 -0400
Fix dumb typo in vote retrieval: we want to check the pending votes to see what we are missing; not the previous period. svn:r11811
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 ef16479b9..43d0b108f 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1235,7 +1235,7 @@ dirvote_fetch_missing_votes(void)
{
if (!(ds->type & V3_AUTHORITY))
continue;
- if (!dirvote_get_vote(ds->v3_identity_digest, 1, 1, 0)) {
+ if (!dirvote_get_vote(ds->v3_identity_digest, 1, 0, 1)) {
char *cp = tor_malloc(HEX_DIGEST_LEN+1);
base16_encode(cp, HEX_DIGEST_LEN+1, ds->v3_identity_digest,
DIGEST_LEN);