summaryrefslogtreecommitdiffstats
path: root/src/polyp/subscribe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/polyp/subscribe.c')
-rw-r--r--src/polyp/subscribe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polyp/subscribe.c b/src/polyp/subscribe.c
index b90e0bf1..4e00997a 100644
--- a/src/polyp/subscribe.c
+++ b/src/polyp/subscribe.c
@@ -44,7 +44,7 @@ void pa_command_subscribe_event(pa_pdispatch *pd, uint32_t command, PA_GCC_UNUSE
if (pa_tagstruct_getu32(t, &e) < 0 ||
pa_tagstruct_getu32(t, &index) < 0 ||
!pa_tagstruct_eof(t)) {
- pa_context_fail(c, PA_ERROR_PROTOCOL);
+ pa_context_fail(c, PA_ERR_PROTOCOL);
goto finish;
}