fix torrent::want_tick() to count connections, not detucting the ones we want to disconnect

This commit is contained in:
arvidn 2020-03-20 23:59:28 +01:00 committed by Arvid Norberg
parent 7352d4fbec
commit b1a3782264
1 changed files with 1 additions and 1 deletions

View File

@ -7180,7 +7180,7 @@ bool is_downloading_state(int const st)
{
if (m_abort) return false;
if (num_peers() > 0) return true;
if (!m_connections.empty()) return true;
// we might want to connect web seeds
if (!is_finished() && !m_web_seeds.empty() && m_files_checked)