Log if _threaddebuglevel is set.

This commit is contained in:
rsc 2005-09-26 11:37:49 +00:00
parent 92c5d29e20
commit 5b0927915f

View file

@ -26,10 +26,7 @@ _threaddebug(char *fmt, ...)
char *p; char *p;
static int fd = -1; static int fd = -1;
return; if(_threaddebuglevel == 0)
va_start(arg, fmt);
vfprint(1, fmt, arg);
va_end(arg);
return; return;
if(fd < 0){ if(fd < 0){