Ignore:
Timestamp:
Dec 31, 2010, 1:30:35 AM (11 years ago)
Author:
charles
Message:

(trunk libT) since messageLevel is a global variable, giving it a unique "tr_" prefix is a nice safeguard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r11599 r11614  
    6464
    6565
    66 time_t transmission_now = 0;
    67 
    68 tr_msg_level messageLevel = TR_MSG_ERR;
     66time_t       __tr_current_time  = 0;
     67tr_msg_level __tr_message_level  = TR_MSG_ERR;
     68
    6969static tr_bool        messageQueuing = FALSE;
    7070static tr_msg_list *  messageQueue = NULL;
     
    125125tr_setMessageLevel( tr_msg_level level )
    126126{
    127     messageLevel = level;
    128 }
    129 
    130 tr_msg_level
    131 tr_getMessageLevel( void )
    132 {
    133     return messageLevel;
     127    __tr_message_level = level;
    134128}
    135129
Note: See TracChangeset for help on using the changeset viewer.