mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
fix iochannel for hangup signals
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@848 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
af54f9fcc7
commit
eecc04cf28
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ static void callback(pa_mainloop_api* m, pa_io_event *e, int fd, pa_io_event_fla
|
||||||
assert(fd >= 0);
|
assert(fd >= 0);
|
||||||
assert(userdata);
|
assert(userdata);
|
||||||
|
|
||||||
if ((f & (PA_IO_EVENT_HANGUP|PA_IO_EVENT_ERROR)) & !io->hungup) {
|
if ((f & (PA_IO_EVENT_HANGUP|PA_IO_EVENT_ERROR)) && !io->hungup) {
|
||||||
io->hungup = 1;
|
io->hungup = 1;
|
||||||
changed = 1;
|
changed = 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue