Changeset 104


Ignore:
Timestamp:
Feb 8, 2006, 5:48:18 PM (15 years ago)
Author:
joshe
Message:

Save resume information when a torrent finishes downloading.

Location:
trunk/libtransmission
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/inout.c

    r54 r104  
    184184}
    185185
     186void tr_ioSaveResume( tr_io_t * io )
     187{
     188    fastResumeSave( io );
     189}
     190
    186191/***********************************************************************
    187192 * createFiles
  • trunk/libtransmission/inout.h

    r1 r104  
    3030int       tr_ioWrite       ( tr_io_t *, int, int, int, uint8_t * );
    3131void      tr_ioClose       ( tr_io_t * );
     32void      tr_ioSaveResume  ( tr_io_t * );
    3233
    3334#endif
  • trunk/libtransmission/transmission.c

    r100 r104  
    562562                        tor->finished = 1;
    563563            tr_trackerCompleted( tor->tracker );
     564            tr_ioSaveResume( tor->io );
    564565        }
    565566
Note: See TracChangeset for help on using the changeset viewer.