fix earlier time-critical-piece patch
This commit is contained in:
parent
93420b2a9b
commit
f722d2951a
|
@ -1777,9 +1777,10 @@ namespace libtorrent
|
||||||
|
|
||||||
TORRENT_ASSERT(m_picker);
|
TORRENT_ASSERT(m_picker);
|
||||||
if (j.offset >= 0 && !m_picker->have_piece(j.offset))
|
if (j.offset >= 0 && !m_picker->have_piece(j.offset))
|
||||||
|
{
|
||||||
we_have(j.offset);
|
we_have(j.offset);
|
||||||
|
remove_time_critical_piece(j.offset);
|
||||||
remove_time_critical_piece(j.offset);
|
}
|
||||||
|
|
||||||
// we're not done checking yet
|
// we're not done checking yet
|
||||||
// this handler will be called repeatedly until
|
// this handler will be called repeatedly until
|
||||||
|
|
Loading…
Reference in New Issue