From 2530c842207ecbec0d178fa5ce804a61a1c6ec6c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 22 Aug 2013 10:00:37 -0400 Subject: Replace return with continue in update_consensus_networkstatus_downloads Fix for bug 9564; bugfix on 0.2.3.14-alpha. --- changes/bug9564 | 5 +++++ src/or/networkstatus.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changes/bug9564 diff --git a/changes/bug9564 b/changes/bug9564 new file mode 100644 index 0000000000..0df00e3698 --- /dev/null +++ b/changes/bug9564 @@ -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. diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 2553a74e50..e780eadac7 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -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); -- cgit v1.2.3-54-g00ecf