Ignore:
Timestamp:
Jun 10, 2008, 12:28:59 AM (15 years ago)
Author:
charles
Message:

fix oops from previous commit. hi, titer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/completion.c

    r6108 r6110  
    315315
    316316        if( tor == NULL )
    317             tab[i] = 0;
     317            tab[i] = 0f;
    318318        else if( isComplete || tr_cpPieceIsComplete( cp, piece ) )
    319             tab[i] = -1;
     319            tab[i] = 1f;
    320320        else
    321321            tab[i] = (float)cp->completeBlocks[piece] / tr_torPieceCountBlocks( tor, piece );
Note: See TracChangeset for help on using the changeset viewer.