From b9c087f46c4fd091c7114d1d5b2c09ad46319896 Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Wed, 24 Jun 2015 18:49:55 +0300 Subject: [PATCH] Fix save resume data for torrents w/o metadata. --- src/core/bittorrent/session.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/bittorrent/session.cpp b/src/core/bittorrent/session.cpp index efa28fc7b..0bf5b82ea 100644 --- a/src/core/bittorrent/session.cpp +++ b/src/core/bittorrent/session.cpp @@ -1399,7 +1399,6 @@ void Session::generateResumeData(bool final) { foreach (TorrentHandle *const torrent, m_torrents) { if (!torrent->isValid()) continue; - if (!torrent->hasMetadata()) continue; if (torrent->hasMissingFiles()) continue; if (torrent->isChecking() || torrent->hasError()) continue; if (!final && !torrent->needSaveResumeData()) continue;