Changeset 5762


Ignore:
Timestamp:
May 6, 2008, 7:39:16 PM (14 years ago)
Author:
charles
Message:

#917: small speedup to r5759 suggested by BentMyWookie?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r5759 r5762  
    17351735        if( atom->flags & ADDED_F_SEED_FLAG )
    17361736            peerHasEverything = TRUE;
     1737        else if( peer->progress < tr_cpPercentDone( tor->completion ) )
     1738            peerHasEverything = FALSE;
    17371739        else {
    17381740            tr_bitfield * tmp = tr_bitfieldDup( tr_cpPieceBitfield( tor->completion ) );
Note: See TracChangeset for help on using the changeset viewer.