merged fix from libtorrent_aio

This commit is contained in:
Arvid Norberg 2012-09-23 04:56:08 +00:00
parent 7640414cf2
commit e77d8cfe7a
1 changed files with 0 additions and 2 deletions

View File

@ -821,8 +821,6 @@ void routing_table::find_node(node_id const& target
for (; j != m_buckets.end() && int(l.size()) < count; ++j)
{
bucket_t& b = j->live_nodes;
size_t to_copy = (std::min)(count - l.size(), b.size());
if (options & include_failed)
{
copy(b.begin(), b.end()