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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r11785 r12204  
    7878}
    7979
    80 static tr_bool
     80static bool
    8181tr_areThreadsEqual( tr_thread_id a, tr_thread_id b )
    8282{
     
    9999};
    100100
    101 tr_bool
     101bool
    102102tr_amInThread( const tr_thread * t )
    103103{
     
    378378migrateFiles( const tr_session * session )
    379379{
    380     static int migrated = FALSE;
    381     const tr_bool should_migrate = strstr( getOldConfigDir(), ".transmission" ) != NULL;
     380    static int migrated = false;
     381    const bool should_migrate = strstr( getOldConfigDir(), ".transmission" ) != NULL;
    382382
    383383    if( !migrated && should_migrate )
     
    385385        const char * oldDir;
    386386        const char * newDir;
    387         migrated = TRUE;
     387        migrated = true;
    388388
    389389        oldDir = getOldTorrentsDir( );
     
    576576
    577577                char * appString = tr_malloc( appLength + 1 );
    578                 tr_bool success = CFStringGetCString( appRef,
     578                bool success = CFStringGetCString( appRef,
    579579                                              appString,
    580580                                              appLength + 1,
Note: See TracChangeset for help on using the changeset viewer.