Changeset 13673
- Timestamp:
- Dec 15, 2012, 3:47:11 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/completion.c
r13625 r13673 103 103 if (!tr_cpBlockIsComplete (cp, block)) 104 104 { 105 const tr_piece_index_t piece = tr_torBlockPiece (cp->tor, block); 106 105 107 tr_bitfieldAdd (&cp->blockBitfield, block); 106 108 cp->sizeNow += tr_torBlockCountBytes (tor, block); 107 109 108 110 cp->haveValidIsDirty = true; 109 cp->sizeWhenDoneIsDirty = true;111 cp->sizeWhenDoneIsDirty |= tor->info.pieces[piece].dnd; 110 112 } 111 113 }
Note: See TracChangeset
for help on using the changeset viewer.