suppress lines made up only of whitespace

This commit is contained in:
Lennart Poettering 2009-01-30 02:25:22 +01:00
parent e6f4586f7b
commit 2557017178

View file

@ -278,7 +278,8 @@ void pa_log_levelv_meta(
n++; n++;
} }
if (!*t) /* We ignore strings only made out of whitespace */
if (t[strspn(t, "\t ")] == 0)
continue; continue;
switch (log_target) { switch (log_target) {