fixed bug spotted by Tianhao Qiu

This commit is contained in:
Arvid Norberg 2006-06-12 21:20:32 +00:00
parent 8fafa58c1f
commit c3eaa26645
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ namespace libtorrent
{
if (i->priority(old_limit) != i->priority(m_sequenced_download_threshold))
{
piece_pos& p = m_piece_map[i->index];
piece_pos& p = *i;
int prev_priority = i->priority(old_limit);
move(p.downloading, p.filtered, prev_priority, i->index);
}