[Pommed-commits] r487 - trunk/pommed

jblache at alioth.debian.org jblache at alioth.debian.org
Sat Jun 7 09:38:04 UTC 2008


Author: jblache
Date: 2008-06-07 09:38:03 +0000 (Sat, 07 Jun 2008)
New Revision: 487

Modified:
   trunk/pommed/dbus.c
Log:
Avoid getting trapped in an infinite loop if DBus needs more memory to dispatch events.


Modified: trunk/pommed/dbus.c
===================================================================
--- trunk/pommed/dbus.c	2008-06-06 19:54:54 UTC (rev 486)
+++ trunk/pommed/dbus.c	2008-06-07 09:38:03 UTC (rev 487)
@@ -894,7 +894,7 @@
     {
       ds = dbus_connection_dispatch(conn);
     }
-  while (ds != DBUS_DISPATCH_COMPLETE);
+  while (ds == DBUS_DISPATCH_DATA_REMAINS);
 }
 
 static dbus_bool_t




More information about the Pommed-commits mailing list