From 35ded8dfe5bfb0998146747ccf55a218be54f0d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= Date: Tue, 13 Aug 2013 01:53:48 -0300 Subject: [PATCH] Revert "bluetooth: Fix error checking style" This reverts commit d9ed42c40f744b273c8d466e95dd4a06e41364b9. This is part of the reversion of BlueZ 5 support so it can be added back in a separate set of modules. This makes the code easier to maintain and decrease PulseAudio's binary size. --- src/modules/bluetooth/bluetooth-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c index 978d6d4e8..ded9afe06 100644 --- a/src/modules/bluetooth/bluetooth-util.c +++ b/src/modules/bluetooth/bluetooth-util.c @@ -906,7 +906,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) < 0) + if (parse_device_property(d, &dict_i, is_property_change)) ret = -1; dbus_message_iter_next(&element_i);