forked from premiere/premiere-libtorrent
fixed typo
This commit is contained in:
parent
31c9d378f5
commit
e0987022cc
|
@ -466,11 +466,12 @@ namespace libtorrent
|
||||||
&& pe.connected != min_time()
|
&& pe.connected != min_time()
|
||||||
&& !pe.banned
|
&& !pe.banned
|
||||||
&& (now - pe.connected > minutes(120)
|
&& (now - pe.connected > minutes(120)
|
||||||
|| m_peers.size() >= m_torrent->settings().max_peerlist_size) * 0.9)
|
|| m_peers.size() >= m_torrent->settings().max_peerlist_size * 0.9))
|
||||||
{
|
{
|
||||||
erase_peer(m_round_robin++);
|
erase_peer(m_round_robin++);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
++m_round_robin;
|
++m_round_robin;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue