bandwidth_manager assert fix
This commit is contained in:
parent
db082dd5d2
commit
07ad5d9796
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue