Ignore:
Timestamp:
Feb 21, 2011, 1:40:19 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) code cleanup: moving bitset functions to their own .c file.

File:
1 edited

Legend:

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

    r11982 r12003  
    476476
    477477        for( peer_i=0; peer_i<peer_count; ++peer_i )
    478             if( tr_bitsetHasFast( &peers[peer_i]->have, piece_i ) )
     478            if( tr_bitsetHas( &peers[peer_i]->have, piece_i ) )
    479479                ++r;
    480480
     
    10241024
    10251025        for( peer_i=0; peer_i<peer_count; ++peer_i )
    1026             if( tr_bitsetHasFast( &peers[peer_i]->have, piece_i ) )
     1026            if( tr_bitsetHas( &peers[peer_i]->have, piece_i ) )
    10271027                ++r;
    10281028
     
    13341334
    13351335        /* if the peer has this piece that we want... */
    1336         if( tr_bitsetHasFast( have, p->index ) )
     1336        if( tr_bitsetHas( have, p->index ) )
    13371337        {
    13381338            tr_block_index_t b = tr_torPieceFirstBlock( tor, p->index );
Note: See TracChangeset for help on using the changeset viewer.