]> code.delx.au - pulseaudio/commitdiff
Revert "bluetooth: Fix error checking style"
authorJoão Paulo Rechi Vita <jprvita@openbossa.org>
Tue, 13 Aug 2013 04:53:48 +0000 (01:53 -0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Sun, 29 Sep 2013 13:54:35 +0000 (16:54 +0300)
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

index 978d6d4e80fd9d60094daaf1f3983f11ce78999f..ded9afe06895bb12a093e676b113b996648d66d0 100644 (file)
@@ -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);