Log if _threaddebuglevel is set.
This commit is contained in:
parent
92c5d29e20
commit
5b0927915f
1 changed files with 2 additions and 5 deletions
|
|
@ -26,11 +26,8 @@ _threaddebug(char *fmt, ...)
|
|||
char *p;
|
||||
static int fd = -1;
|
||||
|
||||
return;
|
||||
va_start(arg, fmt);
|
||||
vfprint(1, fmt, arg);
|
||||
va_end(arg);
|
||||
return;
|
||||
if(_threaddebuglevel == 0)
|
||||
return;
|
||||
|
||||
if(fd < 0){
|
||||
p = strrchr(argv0, '/');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue