forked from premiere/premiere-libtorrent
fixed bug in seeding_outgoing_connections
This commit is contained in:
parent
a1aaf4010a
commit
3616c2f720
|
@ -4755,8 +4755,8 @@ namespace libtorrent
|
||||||
&& m_policy.num_connect_candidates() > 0
|
&& m_policy.num_connect_candidates() > 0
|
||||||
&& !m_abort
|
&& !m_abort
|
||||||
&& (m_ses.settings().seeding_outgoing_connections
|
&& (m_ses.settings().seeding_outgoing_connections
|
||||||
|| m_state != torrent_status::seeding
|
|| (m_state != torrent_status::seeding
|
||||||
|| m_state != torrent_status::finished);
|
&& m_state != torrent_status::finished));
|
||||||
}
|
}
|
||||||
|
|
||||||
void torrent::disconnect_all(error_code const& ec)
|
void torrent::disconnect_all(error_code const& ec)
|
||||||
|
|
Loading…
Reference in New Issue