Ignore:
Timestamp:
Mar 22, 2011, 3:19:54 PM (11 years ago)
Author:
jordan
Message:

(trunk) #4138 "use stdbool.h instead of tr_bool" -- done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-lpd.c

    r12183 r12204  
    393393}
    394394
    395 tr_bool tr_lpdEnabled( const tr_session* ss )
     395bool
     396tr_lpdEnabled( const tr_session* ss )
    396397{
    397398    return ss && ( ss == session );
     
    426427*
    427428* @param[in] t Torrent to announce
    428 * @return Returns TRUE on success
     429* @return Returns true on success
    429430*
    430431* Send a query for torrent t out to the LPD multicast group (or the LAN, for that
     
    432433* peer pool for torrent t.
    433434*/
    434 tr_bool tr_lpdSendAnnounce( const tr_torrent* t )
     435bool
     436tr_lpdSendAnnounce( const tr_torrent* t )
    435437{
    436438    size_t i;
     
    447449
    448450    if( t == NULL )
    449         return FALSE;
     451        return false;
    450452
    451453    /* make sure the hash string is normalized, just in case */
     
    467469
    468470        if( res != len )
    469             return FALSE;
     471            return false;
    470472    }
    471473
    472474    tr_tordbg( t, "LPD announce message away" );
    473475
    474     return TRUE;
     476    return true;
    475477}
    476478
Note: See TracChangeset for help on using the changeset viewer.