*** empty log message ***

This commit is contained in:
Arvid Norberg 2004-07-01 07:12:17 +00:00
parent 82f5f056ea
commit 2baa01e3ec
1 changed files with 1 additions and 5 deletions

View File

@ -246,11 +246,6 @@ namespace libtorrent
++m_num_pieces;
piece_list.push_back(i);
}
else if (m_have_piece[i])
{
--m_num_pieces;
m_torrent->peer_lost(i);
}
}
// shuffle the piece list
@ -699,6 +694,7 @@ namespace libtorrent
}
else if (!have && m_have_piece[i])
{
// this should probably not be allowed
m_have_piece[i] = false;
--m_num_pieces;
m_torrent->peer_lost(i);