diff options
author | Chris Robinson <[email protected]> | 2010-08-04 04:11:38 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-08-04 04:11:38 -0700 |
commit | 22cc5af1fe1227af67807c8b1928f69fe97488b3 (patch) | |
tree | b5a2568afff1cb1db9684fda73add446f1d98808 /Alc | |
parent | 0dc3f1984e969a63f20a91dd980d0fc56fdf0b37 (diff) |
pa_context_errno can return a positive value
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/pulseaudio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 44ae427a..ee1499cf 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -600,6 +600,7 @@ static pa_context *connect_context(pa_threaded_mainloop *loop) if(!PA_CONTEXT_IS_GOOD(state)) { err = ppa_context_errno(context); + if(err > 0) err = -err; break; } |