diff --git a/libtransmission/peer-mgr.c b/libtransmission/peer-mgr.c index 8d55573c7..8044f532c 100644 --- a/libtransmission/peer-mgr.c +++ b/libtransmission/peer-mgr.c @@ -874,7 +874,7 @@ testForEndgame( const Torrent * t ) /* we consider ourselves to be in endgame if the number of bytes we've got requested is >= the number of bytes left to download */ return ( t->requestCount * t->tor->blockSize ) - <= tr_cpLeftUntilDone( &t->tor->completion ); + >= tr_cpLeftUntilDone( &t->tor->completion ); } static void