Changeset 7592 for trunk/libtransmission/utils.c
- Timestamp:
- Jan 3, 2009, 2:43:17 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/utils.c
r7581 r7592 223 223 } 224 224 225 int 225 tr_bool 226 226 tr_deepLoggingIsActive( void ) 227 227 { 228 return IsDebuggerPresent() || (tr_getLog()!=NULL); 228 static tr_bool deepLoggingIsActive = -1; 229 230 if( deepLoggingIsActive == -1 ) 231 deepLoggingIsActive = IsDebuggerPresent() || (tr_getLog()!=NULL); 232 233 return deepLoggingIsActive; 229 234 } 230 235
Note: See TracChangeset
for help on using the changeset viewer.