fixed incorrect assert
This commit is contained in:
parent
beafa4f3e0
commit
c4fac3b91a
|
@ -2791,9 +2791,9 @@ namespace aux {
|
|||
boost::shared_ptr<torrent> t2 = (*i)->associated_torrent().lock();
|
||||
TORRENT_ASSERT(t2);
|
||||
TORRENT_ASSERT((*prev)->uploaded_since_unchoke() * 1000
|
||||
/ total_milliseconds(unchoke_interval) * t1->priority()
|
||||
* (1 + t1->priority()) / total_milliseconds(unchoke_interval)
|
||||
>= (*i)->uploaded_since_unchoke() * 1000
|
||||
/ total_milliseconds(unchoke_interval) * t2->priority());
|
||||
* (1 + t2->priority()) / total_milliseconds(unchoke_interval));
|
||||
}
|
||||
prev = i;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue