projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a81209f
)
return the error code and not just -1 when pa_context_is_pending() fails
author
Lennart Poettering
<lennart@poettering.net>
Mon, 10 Apr 2006 20:43:24 +0000
(20:43 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 10 Apr 2006 20:43:24 +0000
(20:43 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@680
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/polyp/context.c
patch
|
blob
|
history
diff --git
a/src/polyp/context.c
b/src/polyp/context.c
index
6fe008e
..
c16b54b
100644
(file)
--- 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)) ||