This patch fixes tools/gatt-service.c coding style, using !ptr instead of ptr == NULL. --- tools/gatt-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gatt-service.c b/tools/gatt-service.c index 255f3bb..71f7a50 100644 --- a/tools/gatt-service.c +++ b/tools/gatt-service.c @@ -272,7 +272,7 @@ static void register_external_service(gpointer a, gpointer b) msg = dbus_message_new_method_call("org.bluez", "/org/bluez", GATT_MGR_IFACE, "RegisterService"); - if (msg == NULL) { + if (!msg) { printf("Couldn't allocate D-Bus message\n"); return; } -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html