Changeset 9446


Ignore:
Timestamp:
Oct 30, 2009, 4:46:33 PM (13 years ago)
Author:
charles
Message:

(trunk libT) Adding term debug messages to help track down #2533 w/m1b and *acrocivious

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r9445 r9446  
    10621062        else
    10631063        {
    1064             uint32_t i;
     1064            //uint32_t i;
     1065            tr_block_index_t i;
    10651066
    10661067            /* the first block */
     
    10871088                /* the rest of the first piece */
    10881089fprintf( 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 ) )
     1090fprintf( stderr, "firstBlock is %"PRIu64"\n", (uint64_t)firstBlock );
     1091fprintf( stderr, "lastBlock is %"PRIu64"\n", (uint64_t)lastBlock );
     1092fprintf( stderr, "lastBlockOfFirstPiece is %"PRIu64"\n", (uint64_t)lastBlockOfFirstPiece );
     1093                for( i=firstBlock+1; i<lastBlock && i<=lastBlockOfFirstPiece; ++i ) {
     1094fprintf( stderr, "looping on i: %"PRIu64"\n", i );
     1095                    if( tr_cpBlockIsCompleteFast( &tor->completion, i ) ) {
    10911096                        ++b;
     1097                    }
     1098                }
    10921099
    10931100                /* the middle pieces */
Note: See TracChangeset for help on using the changeset viewer.