piece_picker fix

This commit is contained in:
Arvid Norberg
2007-04-18 20:40:41 +00:00
parent 9551e68074
commit 60ddb5c64a
2 changed files with 2 additions and 2 deletions

View File

@@ -1240,7 +1240,7 @@ namespace libtorrent
{
p.downloading = 1;
if (prio > 0) move(prio, p.index);
else add(block.piece_index);
else assert(p.priority(m_sequenced_download_threshold) == 0);
downloading_piece dp;
dp.index = block.piece_index;