fix earlier time-critical-piece patch

This commit is contained in:
Arvid Norberg 2011-07-24 16:18:54 +00:00
parent 93420b2a9b
commit f722d2951a
1 changed files with 3 additions and 2 deletions

View File

@ -1777,9 +1777,10 @@ namespace libtorrent
TORRENT_ASSERT(m_picker);
if (j.offset >= 0 && !m_picker->have_piece(j.offset))
{
we_have(j.offset);
remove_time_critical_piece(j.offset);
remove_time_critical_piece(j.offset);
}
// we're not done checking yet
// this handler will be called repeatedly until