Ignore:
Timestamp:
Apr 21, 2008, 12:04:41 AM (14 years ago)
Author:
charles
Message:

tweak the value of haveDone as per BentMyWookie?'s suggestion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/completion.c

    r5629 r5656  
    109109
    110110        for( i=0; i<info->pieceCount; ++i ) {
    111             if( !info->pieces[i].dnd ) {
     111            if( tr_cpPieceIsComplete( ccp, i ) || !info->pieces[i].dnd ) {
    112112                total += info->pieceSize;
    113113                have += cp->completeBlocks[ i ];
Note: See TracChangeset for help on using the changeset viewer.