From 97f107a7fde8ee1ba6e30bbfee5e85d397433c4b Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 20 Sep 2008 06:02:40 +0000 Subject: [PATCH] fixed bug in verify_fast_resume. Fixes #397 --- src/storage.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/storage.cpp b/src/storage.cpp index 208c9d3c4..dd6e82201 100644 --- a/src/storage.cpp +++ b/src/storage.cpp @@ -770,8 +770,7 @@ namespace libtorrent seed = true; for (int i = 0; i < slots->list_size(); ++i) { - lazy_entry const* e = slots->list_at(i); - if (e->list_int_value_at(i, -1) >= 0) continue; + if (slots->list_int_value_at(i, -1) >= 0) continue; seed = false; break; }