Ignore:
Timestamp:
Aug 7, 2009, 5:29:37 AM (12 years ago)
Author:
charles
Message:

(trunk libT) #2137: .resume file gets saved too frequently

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r8869 r8878  
    205205    tr_bool                    needsSeedRatioCheck;
    206206    tr_bool                    startAfterVerify;
     207    tr_bool                    isDirty;
    207208
    208209    uint16_t                   maxConnectedPeers;
     
    326327}
    327328
     329/* set a flag indicating that the torrent's .resume file
     330 * needs to be saved when the torrent is closed */
     331static inline void tr_torrentSetDirty( tr_torrent * tor )
     332{
     333    assert( tr_isTorrent( tor ) );
     334
     335    tor->isDirty = TRUE;
     336}
     337
    328338#endif
Note: See TracChangeset for help on using the changeset viewer.