From eecc04cf282392afb624fb14ab4f6a564bab4875 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 May 2006 21:38:16 +0000 Subject: fix iochannel for hangup signals git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@848 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/polypcore/iochannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit