save resume data for paused torrents if they need to

This commit is contained in:
Arvid Norberg 2011-02-02 06:40:29 +00:00
parent b4ccc228bc
commit 90ad9ba7d9
1 changed files with 1 additions and 1 deletions

View File

@ -1914,8 +1914,8 @@ int main(int argc, char* argv[])
{
torrent_status& st = *i;
if (!st.handle.is_valid()) continue;
if (st.paused) continue;
if (!st.has_metadata) continue;
if (!st.need_save_resume) continue;
// save_resume_data will generate an alert when it's done
st.handle.save_resume_data();