fixed crash bug in storage
This commit is contained in:
parent
5259d827b6
commit
682a5f85f9
|
@ -1256,7 +1256,7 @@ namespace libtorrent
|
|||
m_slot_to_piece.begin();
|
||||
i != last.base(); ++i)
|
||||
{
|
||||
p.push_back(have[*i] ? *i : unassigned);
|
||||
p.push_back((*i >= 0 && have[*i]) ? *i : unassigned);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue