diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/polyp/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polyp/context.c b/src/polyp/context.c index 6fe008ea..c16b54b4 100644 --- a/src/polyp/context.c +++ b/src/polyp/context.c @@ -728,7 +728,7 @@ int pa_context_is_pending(pa_context *c) { assert(c); assert(c->ref >= 1); - PA_CHECK_VALIDITY_RETURN_ANY(c, c->state == PA_CONTEXT_READY, PA_ERR_BADSTATE, -1); + PA_CHECK_VALIDITY(c, c->state == PA_CONTEXT_READY, PA_ERR_BADSTATE); return (c->pstream && pa_pstream_is_pending(c->pstream)) || (c->pdispatch && pa_pdispatch_is_pending(c->pdispatch)) || |