Changeset 6110 for trunk/libtransmission/completion.c
- Timestamp:
- Jun 10, 2008, 12:28:59 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/completion.c
r6108 r6110 315 315 316 316 if( tor == NULL ) 317 tab[i] = 0 ;317 tab[i] = 0f; 318 318 else if( isComplete || tr_cpPieceIsComplete( cp, piece ) ) 319 tab[i] = -1;319 tab[i] = 1f; 320 320 else 321 321 tab[i] = (float)cp->completeBlocks[piece] / tr_torPieceCountBlocks( tor, piece );
Note: See TracChangeset
for help on using the changeset viewer.