fixed typo

This commit is contained in:
Arvid Norberg 2007-05-26 19:28:38 +00:00
parent 8679ee5916
commit ea965431bf
1 changed files with 1 additions and 1 deletions

View File

@ -903,8 +903,8 @@ namespace libtorrent
, end(peers.end()); i != end; ++i)
{
peer_iterator p = m_connections.find(*i);
peer_connection& peer = *p->second;
if (p == m_connections.end()) continue;
peer_connection& peer = *p->second;
peer.received_invalid_data(index);
// either, we have received too many failed hashes