ソースを参照

r15780@catbus: nickm | 2007-10-15 10:35:16 -0400
Fix the implementation of "download votes by digest".


svn:r11943

Nick Mathewson 16 年 前
コミット
c8ad4f58ee
2 ファイル変更5 行追加1 行削除
  1. 4 0
      ChangeLog
  2. 1 1
      src/or/directory.c

+ 4 - 0
ChangeLog

@@ -11,6 +11,10 @@ Changes in version 0.2.0.9-alpha - 2007-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.

+ 1 - 1
src/or/directory.c

@@ -2189,7 +2189,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
       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);