fixed typo that would sometimes prevent queued torrents to be checked

This commit is contained in:
Arvid Norberg 2009-11-26 15:14:39 +00:00
parent a80b2b0fce
commit 47d2325145
2 changed files with 3 additions and 1 deletions

View File

@ -84,6 +84,7 @@
release 0.14.8
* ignore unkown metadata messages
* fixed typo that would sometimes prevent queued torrents to be checked
release 0.14.7

View File

@ -1440,7 +1440,8 @@ namespace aux {
++uncongested_torrents;
if (t.state() == torrent_status::checking_files) ++num_checking;
else if (t.state() == torrent_status::queued_for_checking)
else if (t.state() == torrent_status::queued_for_checking) ++num_queued;
if (t.is_auto_managed() && t.is_paused() && !t.has_error())
{
++num_paused_auto_managed;