Changeset 6111
- Timestamp:
- Jun 10, 2008, 12:31:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/completion.c
r6110 r6111 315 315 316 316 if( tor == NULL ) 317 tab[i] = 0 f;317 tab[i] = 0.0f; 318 318 else if( isComplete || tr_cpPieceIsComplete( cp, piece ) ) 319 tab[i] = 1 f;319 tab[i] = 1.0f; 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.