[or-cvs] r11943: Fix the implementation of "download votes by digest". (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Mon Oct 15 14:59:45 UTC 2007


Author: nickm
Date: 2007-10-15 10:59:44 -0400 (Mon, 15 Oct 2007)
New Revision: 11943

Modified:
   tor/trunk/
   tor/trunk/ChangeLog
   tor/trunk/src/or/directory.c
Log:
 r15780 at catbus:  nickm | 2007-10-15 10:35:16 -0400
 Fix the implementation of "download votes by digest".



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

Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2007-10-15 06:44:30 UTC (rev 11942)
+++ tor/trunk/ChangeLog	2007-10-15 14:59:44 UTC (rev 11943)
@@ -11,6 +11,10 @@
       than 28 days unmodified, then most likely it's a leftover from when we
       upgraded to 0.2.0.8-alpha.  Remove it.  It has no good routers anyway.
 
+  o Minor bugfixes:
+    - Correct the implementation of "download votes by digest."  Bugfix on
+      0.2.0.8-alpha.
+
   o Code simplifications and refactoring:
     - Remove support for the old bw_accounting file: we've been storing
       bandwidth accounting information in the state file since 0.1.2.5-alpha.

Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c	2007-10-15 06:44:30 UTC (rev 11942)
+++ tor/trunk/src/or/directory.c	2007-10-15 14:59:44 UTC (rev 11943)
@@ -2189,7 +2189,7 @@
       int flags;
       if (!strcmpstart(url, "d/")) {
         url += 2;
-        flags = DGV_BY_ID | DGV_INCLUDE_PENDING | DGV_INCLUDE_PREVIOUS;
+        flags = DGV_INCLUDE_PENDING | DGV_INCLUDE_PREVIOUS;
       } else {
         flags = DGV_BY_ID |
           (current ? DGV_INCLUDE_PREVIOUS : DGV_INCLUDE_PENDING);



More information about the tor-commits mailing list