diff --git a/src/session_impl.cpp b/src/session_impl.cpp index d6ae67fbe..8582b281f 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -2791,9 +2791,9 @@ namespace aux { boost::shared_ptr 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; }