Ignore:
Timestamp:
Nov 27, 2009, 3:25:14 PM (12 years ago)
Author:
charles
Message:

(trunk libT) make tr_msgLoggingIsActive() an inlined function. suggested by BentMyWookie?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r9593 r9604  
    4646
    4747
     48int                   messageLevel = 0;
    4849static tr_lock *      messageLock = NULL;
    49 static int            messageLevel = 0;
    5050static tr_bool        messageQueuing = FALSE;
    5151static tr_msg_list *  messageQueue = NULL;
     
    7474***/
    7575
    76 
    77 static void
     76void
    7877tr_msgInit( void )
    7978{
     
    301300****
    302301***/
    303 
    304 int
    305 tr_msgLoggingIsActive( int level )
    306 {
    307     tr_msgInit( );
    308 
    309     return messageLevel >= level;
    310 }
    311302
    312303void
Note: See TracChangeset for help on using the changeset viewer.