summaryrefslogtreecommitdiffstats
path: root/src/polypcore/pdispatch.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-02-23 02:27:19 +0000
committerLennart Poettering <lennart@poettering.net>2006-02-23 02:27:19 +0000
commit4a64b0d1167e980d81b798d813f35209895f0674 (patch)
tree52688c3035eadaea2970cb3d07c64b0676c154b8 /src/polypcore/pdispatch.c
parentcb59817b4a2e1f640bd9279d0c7863e7a09c1fa6 (diff)
change pa_log() and friends to not require a trailing \n on all logged strings
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@574 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polypcore/pdispatch.c')
-rw-r--r--src/polypcore/pdispatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/polypcore/pdispatch.c b/src/polypcore/pdispatch.c
index 2cc90bc2..56a21bd6 100644
--- a/src/polypcore/pdispatch.c
+++ b/src/polypcore/pdispatch.c
@@ -196,7 +196,7 @@ int pa_pdispatch_run(pa_pdispatch *pd, pa_packet*packet, void *userdata) {
if (!(p = command_names[command]))
snprintf((char*) (p = t), sizeof(t), "%u", command);
- pa_log(__FILE__": Recieved opcode <%s>\n", p);
+ pa_log(__FILE__": Recieved opcode <%s>", p);
}
#endif
@@ -215,7 +215,7 @@ int pa_pdispatch_run(pa_pdispatch *pd, pa_packet*packet, void *userdata) {
(*c)(pd, command, tag, ts, userdata);
} else {
- pa_log(__FILE__": Recieved unsupported command %u\n", command);
+ pa_log(__FILE__": Recieved unsupported command %u", command);
goto finish;
}