summaryrefslogtreecommitdiff
path: root/src/modules/bluetooth/backend-native.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/bluetooth/backend-native.c')
-rw-r--r--src/modules/bluetooth/backend-native.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/bluetooth/backend-native.c b/src/modules/bluetooth/backend-native.c
index e6bf6fed..6eb4e168 100644
--- a/src/modules/bluetooth/backend-native.c
+++ b/src/modules/bluetooth/backend-native.c
@@ -331,8 +331,8 @@ static void register_profile(pa_bluetooth_backend *b, const char *profile, const
pa_assert_se(m = dbus_message_new_method_call(BLUEZ_SERVICE, "/org/bluez", BLUEZ_PROFILE_MANAGER_INTERFACE, "RegisterProfile"));
dbus_message_iter_init_append(m, &i);
- dbus_message_iter_append_basic(&i, DBUS_TYPE_OBJECT_PATH, &profile);
- dbus_message_iter_append_basic(&i, DBUS_TYPE_STRING, &uuid);
+ pa_assert_se(dbus_message_iter_append_basic(&i, DBUS_TYPE_OBJECT_PATH, &profile));
+ pa_assert_se(dbus_message_iter_append_basic(&i, DBUS_TYPE_STRING, &uuid));
dbus_message_iter_open_container(&i, DBUS_TYPE_ARRAY, DBUS_DICT_ENTRY_BEGIN_CHAR_AS_STRING DBUS_TYPE_STRING_AS_STRING
DBUS_TYPE_VARIANT_AS_STRING DBUS_DICT_ENTRY_END_CHAR_AS_STRING, &d);
if (pa_streq (uuid, PA_BLUETOOTH_UUID_HSP_HS)) {