[polypaudio-commits] r848 - /trunk/src/polypcore/iochannel.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu May 11 14:38:17 PDT 2006


Author: lennart
Date: Thu May 11 23:38:16 2006
New Revision: 848

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=848&root=polypaudio&view=rev
Log:
fix iochannel for hangup signals

Modified:
    trunk/src/polypcore/iochannel.c

Modified: trunk/src/polypcore/iochannel.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polypcore/iochannel.c?rev=848&root=polypaudio&r1=847&r2=848&view=diff
==============================================================================
--- trunk/src/polypcore/iochannel.c (original)
+++ trunk/src/polypcore/iochannel.c Thu May 11 23:38:16 2006
@@ -91,7 +91,7 @@
     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;
     }




More information about the pulseaudio-commits mailing list