From bc019f241b2e25c2c419d830bedac59fc465d06d Mon Sep 17 00:00:00 2001 From: Steven Siloti Date: Mon, 15 May 2017 20:53:51 -0700 Subject: [PATCH] keep iterating over endpoints if one is found to be done Even if one endpoint is done others may be ready to announce so we need to keep going. Fixes #1992 --- src/torrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torrent.cpp b/src/torrent.cpp index b9459285e..7e468dc4e 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -2753,7 +2753,7 @@ namespace libtorrent { continue; if (ae.tier > state.tier && state.sent_announce - && !settings().get_bool(settings_pack::announce_to_all_tiers)) break; + && !settings().get_bool(settings_pack::announce_to_all_tiers)) continue; if (aep.is_working()) { state.tier = ae.tier; state.sent_announce = false; } if (!aep.can_announce(now, is_seed(), ae.fail_limit)) {