Changeset 10297


Ignore:
Timestamp:
Feb 28, 2010, 3:27:48 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #2995 "Incompletely downloaded files not trashed" -- fixed in trunk for 1.92

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r10293 r10297  
    23452345
    23462346    /* now blow away any remaining torrent files, such as torrent files in dirty folders */
    2347     for( f=0; f<tor->info.fileCount; ++f ) {
    2348         char * path = tr_buildPath( tor->currentDir, tor->info.files[f].name, NULL );
     2347    for( i=0, n=tr_ptrArraySize( &torrentFiles ); i<n; ++i ) {
     2348        char * path = tr_buildPath( tor->currentDir, tr_ptrArrayNth( &torrentFiles, i ), NULL );
    23492349        deleteLocalFile( path, fileFunc );
    23502350        tr_free( path );
Note: See TracChangeset for help on using the changeset viewer.