Changeset 9287


Ignore:
Timestamp:
Oct 11, 2009, 3:10:17 AM (13 years ago)
Author:
charles
Message:

(trunk, libT) #2425: New torrents are verified after pause.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/verify.c

    r9082 r9287  
    283283        const tr_bool hadAny = tr_cpHaveTotal( &tor->completion ) != 0;
    284284        tr_piece_index_t i;
    285         for( i=0; i<tor->info.pieceCount; ++i )
     285        for( i=0; i<tor->info.pieceCount; ++i ) {
    286286            tr_torrentSetHasPiece( tor, i, FALSE );
     287            tr_torrentSetPieceChecked( tor, i, TRUE );
     288        }
    287289        if( hadAny ) /* if we thought we had some, flag as dirty */
    288290            tr_torrentSetDirty( tor );
Note: See TracChangeset for help on using the changeset viewer.