From: Nick Mathewson Date: Thu, 22 Aug 2013 14:00:37 +0000 (-0400) Subject: Replace return with continue in update_consensus_networkstatus_downloads X-Git-Tag: tor-0.2.4.17-rc~7^2~4^2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2530c842207ecbec0d178fa5ce804a61a1c6ec6c;p=thirdparty%2Ftor.git Replace return with continue in update_consensus_networkstatus_downloads Fix for bug 9564; bugfix on 0.2.3.14-alpha. --- 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);