summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-09-21 14:45:03 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-09-21 14:45:03 -0700
commitc2734c41f7c0e80bcab195150751e1a5e70945fe (patch)
treef33bbbdcdcabcbfb11c8df2373f6d9733d1cd452 /client
parent50782b0eeb05fd0420f3e9c7686eb792f4fb4689 (diff)
downloadbluez-c2734c41f7c0e80bcab195150751e1a5e70945fe.tar.gz
client/gatt: Fix notification enabled/disabled output
When notifications are enabled/disable the output was not print a new line.
Diffstat (limited to 'client')
-rw-r--r--client/gatt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/gatt.c b/client/gatt.c
index 4c1efaf75..efd736b23 100644
--- a/client/gatt.c
+++ b/client/gatt.c
@@ -2518,7 +2518,7 @@ static DBusMessage *chrc_start_notify(DBusConnection *conn, DBusMessage *msg,
chrc->notifying = true;
bt_shell_printf("[" COLORED_CHG "] Attribute %s (%s) notifications "
- "enabled", chrc->path, bt_uuidstr_to_str(chrc->uuid));
+ "enabled\n", chrc->path, bt_uuidstr_to_str(chrc->uuid));
g_dbus_emit_property_changed(conn, chrc->path, CHRC_INTERFACE,
"Notifying");
@@ -2538,7 +2538,8 @@ static DBusMessage *chrc_stop_notify(DBusConnection *conn, DBusMessage *msg,
chrc->notifying = false;
bt_shell_printf("[" COLORED_CHG "] Attribute %s (%s) notifications "
- "disabled", chrc->path, bt_uuidstr_to_str(chrc->uuid));
+ "disabled\n", chrc->path,
+ bt_uuidstr_to_str(chrc->uuid));
g_dbus_emit_property_changed(conn, chrc->path, CHRC_INTERFACE,
"Notifying");