Browse Source

Fix save resume data for torrents w/o metadata.

adaptive-webui-19844
Vladimir Golovnev (Glassez) 10 years ago
parent
commit
b9c087f46c
  1. 1
      src/core/bittorrent/session.cpp

1
src/core/bittorrent/session.cpp

@ -1399,7 +1399,6 @@ void Session::generateResumeData(bool final) @@ -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;

Loading…
Cancel
Save