force recheck assert fix

This commit is contained in:
Arvid Norberg 2008-11-24 19:18:53 +00:00
parent 0836ceec0b
commit 73907913d7
1 changed files with 3 additions and 0 deletions

View File

@ -752,7 +752,10 @@ namespace libtorrent
return; return;
} }
if (!is_torrent_paused() || is_auto_managed()) if (!is_torrent_paused() || is_auto_managed())
{
set_state(torrent_status::queued_for_checking);
m_ses.check_torrent(shared_from_this()); m_ses.check_torrent(shared_from_this());
}
} }
void torrent::start_checking() void torrent::start_checking()