From 98b81636b7d3ba4a49f1c23118a669c8472961de Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 5 Aug 2008 19:01:25 +0200 Subject: allow extension messages to actually carry information --- src/pulse/context.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/pulse') 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; } -- cgit