From 8e93d59b2c4c9b71d84b10eb65902c7d444fd64c Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 9 Apr 2012 03:04:57 +0000 Subject: [PATCH] fix bug when weeding out peers from peerlists --- src/policy.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/policy.cpp b/src/policy.cpp index 05d827d9b..98d12dfd1 100644 --- a/src/policy.cpp +++ b/src/policy.cpp @@ -697,6 +697,7 @@ namespace libtorrent if (candidate > current) --candidate; --m_round_robin; erase_peer(m_peers.begin() + current); + continue; } else {