Changeset 10308


Ignore:
Timestamp:
Mar 6, 2010, 10:33:45 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #2885 "'Move data file' does not change the location for data yet to be downloaded" -- fixed in trunk for 1.92

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r10307 r10308  
    25452545    }
    25462546
     2547    if( !err && do_move )
     2548    {
     2549        tr_free( tor->incompleteDir );
     2550        tor->incompleteDir = NULL;
     2551        tor->currentDir = tor->downloadDir;
     2552    }
     2553
    25472554    if( data->setme_state )
    25482555        *data->setme_state = err ? TR_LOC_ERROR : TR_LOC_DONE;
  • trunk/libtransmission/transmission.h

    r10288 r10308  
    10421042};
    10431043
    1044 /** @brief Tell transmsision where to find this torrent's local data */
     1044/**
     1045 * @brief Tell transmsision where to find this torrent's local data.
     1046 *
     1047 * if move_from_previous_location is `true', the torrent's incompleteDir
     1048 * will be clobberred s.t. additional files being added will be saved
     1049 * to the torrent's downloadDir.
     1050 */
    10451051void tr_torrentSetLocation( tr_torrent  * torrent,
    10461052                            const char  * location,
Note: See TracChangeset for help on using the changeset viewer.