projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6f4586
)
suppress lines made up only of whitespace
author
Lennart Poettering
<lennart@poettering.net>
Fri, 30 Jan 2009 01:25:22 +0000
(
02:25
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 30 Jan 2009 01:25:22 +0000
(
02:25
+0100)
src/pulsecore/log.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/log.c
b/src/pulsecore/log.c
index
9a7f7ca
..
1ae4383
100644
(file)
--- a/
src/pulsecore/log.c
+++ b/
src/pulsecore/log.c
@@
-278,7
+278,8
@@
void pa_log_levelv_meta(
n++;
}
- if (!*t)
+ /* We ignore strings only made out of whitespace */
+ if (t[strspn(t, "\t ")] == 0)
continue;
switch (log_target) {