diff --git a/src/storage.cpp b/src/storage.cpp index 3de0c3e25..5c076a26e 100755 --- a/src/storage.cpp +++ b/src/storage.cpp @@ -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);