torrent fix

This commit is contained in:
Arvid Norberg 2007-10-05 17:31:02 +00:00
parent 966800cd5b
commit 64057e3fb0
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ namespace libtorrent
{
int corr = 0;
int index = i->index;
TORRENT_ASSERT(!m_have_pieces[index]);
if (m_have_pieces[index]) continue;
TORRENT_ASSERT(i->finished <= m_picker->blocks_in_piece(index));
#ifndef NDEBUG