mirror of https://github.com/ericonr/sndio.git
log client start only if log_level >= 2
This commit is contained in:
parent
dfa5df2eb5
commit
408318f6ec
|
@ -1622,7 +1622,7 @@ slot_attach(struct slot *s)
|
||||||
|
|
||||||
s->pstate = SLOT_RUN;
|
s->pstate = SLOT_RUN;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (log_level >= 0) {
|
if (log_level >= 2) {
|
||||||
slot_log(s);
|
slot_log(s);
|
||||||
log_puts(": attached at ");
|
log_puts(": attached at ");
|
||||||
log_puti(startpos);
|
log_puti(startpos);
|
||||||
|
|
Loading…
Reference in New Issue