Ignore:
Timestamp:
Oct 2, 2008, 8:30:29 PM (12 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/inout.h

    r6795 r6838  
    5151
    5252/**
    53  * returns 0 if the piece matches its metainfo's SHA1 checksum,
    54  * or TR_ERROR_IO_* if there was a problem reading the piece,
    55  * or TR_ERROR if the checksum didn't match.
     53 * returns nonzero if the piece matches its metainfo's SHA1 checksum.
    5654 */
    57 tr_errno tr_ioTestPiece( const tr_torrent*,
    58                          int   piece );
     55int tr_ioTestPiece( const tr_torrent*,
     56                    int   piece );
    5957
    6058
Note: See TracChangeset for help on using the changeset viewer.