Ignore:
Timestamp:
Apr 4, 2009, 5:29:08 AM (13 years ago)
Author:
charles
Message:

(trunk)

  1. add to the "recently-changed" torrent a list of recently-removed torrent ids.
  2. make the day-of-week alt speed a bitfield of days or'ed together, so that you can have (say) speed limits on monday and wednesday
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r8124 r8132  
    13311331closeTorrent( void * vtor )
    13321332{
     1333    tr_benc * d;
    13331334    tr_torrent * tor = vtor;
    13341335
    13351336    assert( tr_isTorrent( tor ) );
     1337
     1338    d = tr_bencListAddDict( &tor->session->removedTorrents, 2 );
     1339    tr_bencDictAddInt( d, "id", tor->uniqueId );
     1340    tr_bencDictAddInt( d, "date", time( NULL ) );
    13361341
    13371342    tr_torrentSaveResume( tor );
Note: See TracChangeset for help on using the changeset viewer.