summaryrefslogtreecommitdiffstats
path: root/src/pulse/context.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-05 19:01:25 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-05 19:01:25 +0200
commit98b81636b7d3ba4a49f1c23118a669c8472961de (patch)
treef4f6bc3d576a9c992de4d3c33427627986cfae4e /src/pulse/context.c
parente0dd72afcb21d8addc594699888898c51ceb01ec (diff)
allow extension messages to actually carry information
Diffstat (limited to 'src/pulse/context.c')
-rw-r--r--src/pulse/context.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pulse/context.c b/src/pulse/context.c
index b20093d2..f7b32962 100644
--- a/src/pulse/context.c
+++ b/src/pulse/context.c
@@ -1251,8 +1251,7 @@ void pa_command_extension(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_t
pa_context_ref(c);
if (pa_tagstruct_getu32(t, &idx) < 0 ||
- pa_tagstruct_gets(t, &name) < 0 ||
- !pa_tagstruct_eof(t)) {
+ pa_tagstruct_gets(t, &name) < 0) {
pa_context_fail(c, PA_ERR_PROTOCOL);
goto finish;
}