added some asserts

This commit is contained in:
Arvid Norberg
2006-12-15 02:26:11 +00:00
parent 9e27e33c99
commit 16b7898de9
2 changed files with 14 additions and 16 deletions

View File

@@ -1172,7 +1172,7 @@ namespace libtorrent
// clear this block as being downloaded
i->requested_blocks[block.block_index] = 0;
// if there are no other blocks in this pieces
// if there are no other blocks in this piece
// that's being downloaded, remove it from the list
if (i->requested_blocks.count() == 0)
{