src/modules/bluetooth/bluetooth-util.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b4e2c503eb26b10662e5803fd213c14ebea29843
Author: Tanu Kaskinen <tanu.kaski...@intel.com>
Date:   Wed May 1 13:39:36 2013 +0300

    bluetooth: Fix error checking style

diff --git a/src/modules/bluetooth/bluetooth-util.c 
b/src/modules/bluetooth/bluetooth-util.c
index cee283e..8b9c1ba 100644
--- a/src/modules/bluetooth/bluetooth-util.c
+++ b/src/modules/bluetooth/bluetooth-util.c
@@ -910,7 +910,7 @@ static int parse_device_properties(pa_bluetooth_device *d, 
DBusMessageIter *i, b
 
         dbus_message_iter_recurse(&element_i, &dict_i);
 
-        if (parse_device_property(d, &dict_i, is_property_change))
+        if (parse_device_property(d, &dict_i, is_property_change) < 0)
             ret = -1;
 
         dbus_message_iter_next(&element_i);

_______________________________________________
pulseaudio-commits mailing list
pulseaudio-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to