fixed incorrect assert
This commit is contained in:
@@ -2791,9 +2791,9 @@ namespace aux {
|
|||||||
boost::shared_ptr<torrent> t2 = (*i)->associated_torrent().lock();
|
boost::shared_ptr<torrent> t2 = (*i)->associated_torrent().lock();
|
||||||
TORRENT_ASSERT(t2);
|
TORRENT_ASSERT(t2);
|
||||||
TORRENT_ASSERT((*prev)->uploaded_since_unchoke() * 1000
|
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
|
>= (*i)->uploaded_since_unchoke() * 1000
|
||||||
/ total_milliseconds(unchoke_interval) * t2->priority());
|
* (1 + t2->priority()) / total_milliseconds(unchoke_interval));
|
||||||
}
|
}
|
||||||
prev = i;
|
prev = i;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user