fast resume data check fix
This commit is contained in:
parent
f3f90c1a0f
commit
9eeb3cea9d
|
@ -1726,7 +1726,7 @@ namespace libtorrent
|
|||
}
|
||||
|
||||
int index = int(i->integer());
|
||||
if (index != slot)
|
||||
if (index != slot && index >= 0)
|
||||
{
|
||||
error = "invalid slot index";
|
||||
return check_no_fastresume(error);
|
||||
|
|
Loading…
Reference in New Issue