Browse Source

- Do not save fastresume data for checking torrents

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
53a0e85b8d
  1. 1
      src/bittorrent.cpp

1
src/bittorrent.cpp

@ -1310,6 +1310,7 @@ void bittorrent::saveFastResumeData() {
if(!h.is_valid()) continue; if(!h.is_valid()) continue;
if(h.is_paused()) continue; if(h.is_paused()) continue;
if (!h.has_metadata()) continue; if (!h.has_metadata()) continue;
if(h.state() == torrent_status::checking_files || h.state() == torrent_status::queued_for_checking) continue;
h.save_resume_data(); h.save_resume_data();
++num_resume_data; ++num_resume_data;
} }

Loading…
Cancel
Save