From: Tanu Kaskinen Date: Wed, 1 May 2013 10:39:36 +0000 (+0300) Subject: bluetooth: Fix error checking style X-Git-Url: https://code.delx.au/pulseaudio/commitdiff_plain/d9ed42c40f744b273c8d466e95dd4a06e41364b9 bluetooth: Fix error checking style --- diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c index cee283e8..8b9c1ba5 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);