fixed incorrect assert

This commit is contained in:
Arvid Norberg 2010-07-15 01:46:50 +00:00
parent beafa4f3e0
commit c4fac3b91a
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}