Ignore:
Timestamp:
Jan 29, 2011, 6:54:43 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) #3955 "tr_torrentNext() should be inlined" -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r11709 r11781  
    9292void             tr_torrentSetChecked( tr_torrent * tor, time_t when );
    9393
    94 tr_torrent*      tr_torrentNext( tr_session  * session,
    95                                  tr_torrent  * current );
    96 
    9794void             tr_torrentCheckSeedLimit( tr_torrent * tor );
    9895
     
    252249    tr_bool                    finishedSeedingByIdle;
    253250};
     251
     252static inline tr_torrent*
     253tr_torrentNext( tr_session * session, tr_torrent * current )
     254{
     255    return current ? current->next : session->torrentList;
     256}
    254257
    255258/* get the index of this piece's first block */
Note: See TracChangeset for help on using the changeset viewer.