Log if _threaddebuglevel is set.
This commit is contained in:
parent
92c5d29e20
commit
5b0927915f
@ -26,11 +26,8 @@ _threaddebug(char *fmt, ...)
|
|||||||
char *p;
|
char *p;
|
||||||
static int fd = -1;
|
static int fd = -1;
|
||||||
|
|
||||||
return;
|
if(_threaddebuglevel == 0)
|
||||||
va_start(arg, fmt);
|
return;
|
||||||
vfprint(1, fmt, arg);
|
|
||||||
va_end(arg);
|
|
||||||
return;
|
|
||||||
|
|
||||||
if(fd < 0){
|
if(fd < 0){
|
||||||
p = strrchr(argv0, '/');
|
p = strrchr(argv0, '/');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user