]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
r15589@catbus: nickm | 2007-10-09 15:08:00 -0400
authorNick Mathewson <nickm@torproject.org>
Tue, 9 Oct 2007 19:14:46 +0000 (19:14 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 9 Oct 2007 19:14:46 +0000 (19:14 +0000)
 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

src/or/dirvote.c

index ef16479b9e80ce8f999f53ebb3c19cb62800b5df..43d0b108f1d706973d276f2894ff6e652c7a7ed5 100644 (file)
@@ -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);