fixed typo

This commit is contained in:
Arvid Norberg 2008-05-30 07:58:49 +00:00
parent 31c9d378f5
commit e0987022cc
1 changed files with 2 additions and 1 deletions

View File

@ -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;