fixed invariant checks in bandiwdth_manager

This commit is contained in:
Arvid Norberg 2008-12-14 22:59:47 +00:00
parent 99a2fd7eae
commit 8f308ef881
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ struct bandwidth_manager
, end(m_queue.end()); i != end && j != end; ++i, ++j)
{
TORRENT_ASSERT(i->priority >= j->priority);
bytes += i->max_block_size;
bytes += j->max_block_size;
}
}
TORRENT_ASSERT(bytes == m_queued_bytes);