bandwidth_manager assert fix

This commit is contained in:
Arvid Norberg 2007-12-10 18:13:57 +00:00
parent db082dd5d2
commit 07ad5d9796
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ struct bandwidth_limit
void assign(int amount) throw()
{
TORRENT_ASSERT(amount > 0);
TORRENT_ASSERT(amount >= 0);
m_current_rate += amount;
m_quota_left += amount;
}