From b452020404178f46bd87bce6bd7aecaeeccacd9b Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 16 Apr 2008 07:51:08 +0000 Subject: [PATCH] fixed resume data bug --- src/torrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torrent.cpp b/src/torrent.cpp index f1b7048a1..73c1284be 100755 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -420,7 +420,7 @@ namespace libtorrent m_state = torrent_status::queued_for_checking; - read_resume_data(m_resume_data); + if (m_resume_data.type() == entry::dictionary_t) read_resume_data(m_resume_data); m_storage->async_check_fastresume(&m_resume_data , bind(&torrent::on_resume_data_checked