Changeset 9446 for trunk/libtransmission/torrent.c
- Timestamp:
- Oct 30, 2009, 4:46:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r9445 r9446 1062 1062 else 1063 1063 { 1064 uint32_t i; 1064 //uint32_t i; 1065 tr_block_index_t i; 1065 1066 1066 1067 /* the first block */ … … 1087 1088 /* the rest of the first piece */ 1088 1089 fprintf( stderr, "looping on the rest of the first piece\n" ); 1089 for( i=firstBlock+1; i<lastBlock && i<=lastBlockOfFirstPiece; ++i ) 1090 if( tr_cpBlockIsCompleteFast( &tor->completion, i ) ) 1090 fprintf( stderr, "firstBlock is %"PRIu64"\n", (uint64_t)firstBlock ); 1091 fprintf( stderr, "lastBlock is %"PRIu64"\n", (uint64_t)lastBlock ); 1092 fprintf( stderr, "lastBlockOfFirstPiece is %"PRIu64"\n", (uint64_t)lastBlockOfFirstPiece ); 1093 for( i=firstBlock+1; i<lastBlock && i<=lastBlockOfFirstPiece; ++i ) { 1094 fprintf( stderr, "looping on i: %"PRIu64"\n", i ); 1095 if( tr_cpBlockIsCompleteFast( &tor->completion, i ) ) { 1091 1096 ++b; 1097 } 1098 } 1092 1099 1093 1100 /* the middle pieces */
Note: See TracChangeset
for help on using the changeset viewer.