fixed typo in logic that connects web seeds
This commit is contained in:
parent
e946ba654f
commit
fa61a1eada
|
@ -6637,8 +6637,6 @@ namespace libtorrent
|
||||||
if (!is_finished() && !m_web_seeds.empty() && m_files_checked
|
if (!is_finished() && !m_web_seeds.empty() && m_files_checked
|
||||||
&& int(m_connections.size()) < m_max_connections
|
&& int(m_connections.size()) < m_max_connections
|
||||||
&& m_ses.num_connections() < m_ses.settings().connections_limit)
|
&& m_ses.num_connections() < m_ses.settings().connections_limit)
|
||||||
return;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
// keep trying web-seeds if there are any
|
// keep trying web-seeds if there are any
|
||||||
// first find out which web seeds we are connected to
|
// first find out which web seeds we are connected to
|
||||||
|
|
Loading…
Reference in New Issue