piece picker fix

This commit is contained in:
Arvid Norberg 2007-03-30 20:21:29 +00:00
parent 983b953f02
commit 5c90b99316
1 changed files with 1 additions and 0 deletions

View File

@ -662,6 +662,7 @@ namespace libtorrent
}
if (p.have()) return;
p.set_have();
if (priority == 0) return;
assert(p.priority(m_sequenced_download_threshold) == 0);
move(priority, info_index);
}