diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-05-11 21:38:16 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-05-11 21:38:16 +0000 |
commit | eecc04cf282392afb624fb14ab4f6a564bab4875 (patch) | |
tree | 73c53fab8e89c3fa3973707826d132ee4135f427 /src/polypcore/iochannel.c | |
parent | af54f9fcc71077fd215054ee3aa3d3a4e8b9f5ad (diff) |
fix iochannel for hangup signals
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@848 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polypcore/iochannel.c')
-rw-r--r-- | src/polypcore/iochannel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polypcore/iochannel.c b/src/polypcore/iochannel.c index 623925ac..aba0399c 100644 --- a/src/polypcore/iochannel.c +++ b/src/polypcore/iochannel.c @@ -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(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; changed = 1; } |