small hint_read issue
This commit is contained in:
parent
83fe560aa2
commit
5811e9eef8
|
@ -1756,6 +1756,7 @@ ret:
|
||||||
{
|
{
|
||||||
m_last_piece = piece_index;
|
m_last_piece = piece_index;
|
||||||
int slot = slot_for(piece_index);
|
int slot = slot_for(piece_index);
|
||||||
|
if (slot <= 0) return;
|
||||||
m_storage->hint_read(slot, offset, size);
|
m_storage->hint_read(slot, offset, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue