From d9ed42c40f744b273c8d466e95dd4a06e41364b9 Mon Sep 17 00:00:00 2001 From: Tanu Kaskinen Date: Wed, 1 May 2013 13:39:36 +0300 Subject: [PATCH] bluetooth: Fix error checking style --- 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 cee283e8c..8b9c1ba52 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);