fast resume data check fix

This commit is contained in:
Arvid Norberg 2008-03-16 18:24:57 +00:00
parent f3f90c1a0f
commit 9eeb3cea9d
1 changed files with 1 additions and 1 deletions

View File

@ -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);