From 1f16f949ec705667086b2f8775ac1098fed7f6b3 Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 12 May 2025 12:22:36 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Barnabás Pőcze --- src/tools/pw-dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/pw-dump.c b/src/tools/pw-dump.c index 7deb37d19..dd1e2cecb 100644 --- a/src/tools/pw-dump.c +++ b/src/tools/pw-dump.c @@ -222,7 +222,7 @@ static SPA_PRINTF_FUNC(3,4) void put_fmt(struct data *d, const char *key, const put_key(d, key); fprintf(d->out, "%s%s%*s", d->state & STATE_COMMA ? "," : "", - d->state & (STATE_MASK | STATE_KEY) ? " " : (d->state & STATE_FIRST) | raw ? "" : "\n", + d->state & (STATE_MASK | STATE_KEY) ? " " : (d->state & STATE_FIRST) || raw ? "" : "\n", d->state & (STATE_MASK | STATE_KEY) ? 0 : d->level, ""); va_start(va, fmt); vfprintf(d->out, fmt, va);