Changeset 9287
- Timestamp:
- Oct 11, 2009, 3:10:17 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/verify.c
r9082 r9287 283 283 const tr_bool hadAny = tr_cpHaveTotal( &tor->completion ) != 0; 284 284 tr_piece_index_t i; 285 for( i=0; i<tor->info.pieceCount; ++i ) 285 for( i=0; i<tor->info.pieceCount; ++i ) { 286 286 tr_torrentSetHasPiece( tor, i, FALSE ); 287 tr_torrentSetPieceChecked( tor, i, TRUE ); 288 } 287 289 if( hadAny ) /* if we thought we had some, flag as dirty */ 288 290 tr_torrentSetDirty( tor );
Note: See TracChangeset
for help on using the changeset viewer.