Ignore:
Timestamp:
Oct 2, 2008, 8:30:29 PM (13 years ago)
Author:
charles
Message:

(libT) eliminating tr_errno, part 1: make tr_ioTestPiece return an int instead of a tr_errno.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/verify.c

    r6795 r6838  
    8686            const int      wasComplete = tr_cpPieceIsComplete(
    8787                tor->completion, i );
    88             const tr_errno err = tr_ioTestPiece( tor, i );
    89 
    90             if( !err ) /* yay */
     88
     89            if( tr_ioTestPiece( tor, i ) ) /* yay */
    9190            {
    9291                tr_torrentSetHasPiece( tor, i, TRUE );
Note: See TracChangeset for help on using the changeset viewer.