merged fix from libtorrent_aio
This commit is contained in:
parent
7640414cf2
commit
e77d8cfe7a
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue