]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Replace return with continue in update_consensus_networkstatus_downloads
authorNick Mathewson <nickm@torproject.org>
Thu, 22 Aug 2013 14:00:37 +0000 (10:00 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 22 Aug 2013 14:00:37 +0000 (10:00 -0400)
Fix for bug 9564; bugfix on 0.2.3.14-alpha.

changes/bug9564 [new file with mode: 0644]
src/or/networkstatus.c

diff --git a/changes/bug9564 b/changes/bug9564
new file mode 100644 (file)
index 0000000..0df00e3
--- /dev/null
@@ -0,0 +1,5 @@
+  o Minor bugfixes:
+    - If the time to download the next old-style networkstatus is in
+      the future, do not decline to consider whether to download the
+      next microdescriptor networkstatus. Fixes bug 9564. Bugfix on
+      0.2.3.14-alpha.
index 2553a74e50662026d89752efe8845ecf1e6a0821..e780eadac70cd2e7ed0291c762b2e046b04284e4 100644 (file)
@@ -1239,7 +1239,7 @@ update_consensus_networkstatus_downloads(time_t now)
     }
 
     if (time_to_download_next_consensus[i] > now)
-      return; /* Wait until the current consensus is older. */
+      continue; /* Wait until the current consensus is older. */
 
     resource = networkstatus_get_flavor_name(i);