diff options
author | João Paulo Rechi Vita <jprvita@openbossa.org> | 2013-08-13 01:53:48 -0300 |
---|---|---|
committer | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2013-08-15 14:35:04 +0300 |
commit | 3342d57e83f101b7e191fee15d7a8ab2e1e80b89 (patch) | |
tree | 7903cd3b346ffe0f9fd25a03225df233d3fa3092 | |
parent | 0145ad24c0640767eea7a6ff1673f3c9225496e5 (diff) | |
download | pulseaudio-3342d57e83f101b7e191fee15d7a8ab2e1e80b89.tar.gz |
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.
-rw-r--r-- | src/modules/bluetooth/bluetooth-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c index 422f85fd0..4765a12de 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); |