Ignore:
Timestamp:
Jun 22, 2007, 8:59:23 PM (15 years ago)
Author:
charles
Message:

add color-coded lines to the gtk debug window -- info is black, debug is grey, errors are red...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/inout.c

    r2154 r2185  
    226226    tr_bitfieldClear( io->uncheckedPieces );
    227227
    228     if ( fastResumeLoad( io->tor, io->uncheckedPieces ) )
     228    if( fastResumeLoad( io->tor, io->uncheckedPieces ) )
    229229        tr_bitfieldAddRange( io->uncheckedPieces, 0, tor->info.pieceCount-1 );
     230
     231    if( !tr_bitfieldIsEmpty( io->uncheckedPieces ) )
     232        tr_inf( "Rechecking portions of \"%s\"", tor->info.name );
    230233
    231234    for( i=0; i<tor->info.pieceCount; ++i )
     
    237240            continue;
    238241
    239         tr_inf ( "Checking piece %d because it's not in fast-resume", i );
     242        tr_dbg ( "Checking piece %d because it's not in fast-resume", i );
    240243
    241244        if( !checkPiece( tor, i ) )
Note: See TracChangeset for help on using the changeset viewer.