Return-Path: From: Grzegorz Kolodziejczyk To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ 1/9] tools/btpclient: Fix setting supported includes includes Date: Wed, 28 Feb 2018 13:41:21 +0100 Message-Id: <20180228124129.25851-1-grzegorz.kolodziejczyk@codecoup.pl> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Included values should be string type instead of address of pointer to string. --- tools/btpclient.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/btpclient.c b/tools/btpclient.c index 61bde820e..d37232f07 100644 --- a/tools/btpclient.c +++ b/tools/btpclient.c @@ -888,19 +888,19 @@ static bool ad_includes_getter(struct l_dbus *dbus, if (ad.tx_power) { const char *str = "tx-power"; - l_dbus_message_builder_append_basic(builder, 's', &str); + l_dbus_message_builder_append_basic(builder, 's', str); } if (ad.name) { const char *str = "local-name"; - l_dbus_message_builder_append_basic(builder, 's', &str); + l_dbus_message_builder_append_basic(builder, 's', str); } if (ad.appearance) { const char *str = "appearance"; - l_dbus_message_builder_append_basic(builder, 's', &str); + l_dbus_message_builder_append_basic(builder, 's', str); } l_dbus_message_builder_leave_array(builder); -- 2.13.6