[or-cvs] r11811: Fix dumb typo in vote retrieval: we want to check the pendin (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Tue Oct 9 19:14:47 UTC 2007


Author: nickm
Date: 2007-10-09 15:14:46 -0400 (Tue, 09 Oct 2007)
New Revision: 11811

Modified:
   tor/trunk/
   tor/trunk/src/or/dirvote.c
Log:
 r15589 at 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.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r15589] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/or/dirvote.c
===================================================================
--- tor/trunk/src/or/dirvote.c	2007-10-09 19:05:38 UTC (rev 11810)
+++ tor/trunk/src/or/dirvote.c	2007-10-09 19:14:46 UTC (rev 11811)
@@ -1235,7 +1235,7 @@
     {
       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);



More information about the tor-commits mailing list