Browse Source

Merge pull request #3292 from glassez/resumedata

Fix save resume data for torrents w/o metadata. Closes  #1488.
adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
b9ed94a098
  1. 1
      src/core/bittorrent/session.cpp

1
src/core/bittorrent/session.cpp

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