fixed bug in seeding_outgoing_connections

This commit is contained in:
Arvid Norberg 2010-12-18 23:21:13 +00:00
parent a1aaf4010a
commit 3616c2f720
1 changed files with 2 additions and 2 deletions

View File

@ -4755,8 +4755,8 @@ namespace libtorrent
&& m_policy.num_connect_candidates() > 0
&& !m_abort
&& (m_ses.settings().seeding_outgoing_connections
|| m_state != torrent_status::seeding
|| m_state != torrent_status::finished);
|| (m_state != torrent_status::seeding
&& m_state != torrent_status::finished));
}
void torrent::disconnect_all(error_code const& ec)