Changeset 904:b839a1b1c1da in freeDiameter for libfdproto/log.c
- Timestamp:
- Dec 15, 2012, 6:55:06 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/log.c
r788 r904 108 108 109 109 /* Function to set the thread's friendly name */ 110 void fd_log_threadname ( c har * name )110 void fd_log_threadname ( const char * name ) 111 111 { 112 112 void * val = NULL; … … 118 118 if (TRACE_BOOL(ANNOYING)) { 119 119 if (val) { 120 fd_log_debug("(Thread '%s' renamed to '%s')\n", (char *)val, name );120 fd_log_debug("(Thread '%s' renamed to '%s')\n", (char *)val, name?:"(nil)"); 121 121 } else { 122 122 fd_log_debug("(Thread %p named '%s')\n", pthread_self(), name?:"(nil)");
Note: See TracChangeset
for help on using the changeset viewer.