Ignore:
Timestamp:
Mar 30, 2011, 4:23:20 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) merge tr_bitfieldTestFast() and tr_bitfieldTest()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r12248 r12263  
    13361336        minute_of_the_week = MINUTES_PER_WEEK - 1;
    13371337
    1338     e = tr_bitfieldHasFast( &t->minutes, minute_of_the_week );
     1338    e = tr_bitfieldHas( &t->minutes, minute_of_the_week );
    13391339    if( enabled != NULL )
    13401340        *enabled = e;
     
    13441344        const size_t prev = minute_of_the_week > 0 ? minute_of_the_week - 1
    13451345                                                   : MINUTES_PER_WEEK - 1;
    1346         *changed = e != tr_bitfieldHasFast( &t->minutes, prev );
     1346        *changed = e != tr_bitfieldHas( &t->minutes, prev );
    13471347    }
    13481348}
Note: See TracChangeset for help on using the changeset viewer.