Changeset 2c5fabc for protocols


Ignore:
Timestamp:
2010-05-21T23:26:21Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e77c264
Parents:
75c3ff7
Message:

Sigh. Enable debugging only if the BITLBEE_DEBUG variable is set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    r75c3ff7 r2c5fabc  
    841841        purple_notify_set_ui_ops( &bee_notify_uiops );
    842842        purple_xfers_set_ui_ops( &bee_xfer_uiops );
    843         purple_debug_set_ui_ops( &bee_debug_uiops );
     843       
     844        if( getenv( "BITLBEE_DEBUG" ) )
     845                purple_debug_set_ui_ops( &bee_debug_uiops );
    844846}
    845847
Note: See TracChangeset for help on using the changeset viewer.