From 7ce67655359fd50cb2ca15add8d8433cdcf1bf1e Mon Sep 17 00:00:00 2001 From: Bruno Morais Date: Thu, 5 Sep 2019 19:26:51 -0400 Subject: [PATCH] fix parameter passing --- src/plugins/mpris/mpris.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/mpris/mpris.cpp b/src/plugins/mpris/mpris.cpp index 11247e087..af44e11e2 100644 --- a/src/plugins/mpris/mpris.cpp +++ b/src/plugins/mpris/mpris.cpp @@ -518,7 +518,7 @@ static int sd_response_id(sd_bus* bus, const char* path, const char* iface, sd_bus_error* err) { const char* identity = "musikcube"; - return sd_bus_message_append_basic(reply, 's', &identity); + return sd_bus_message_append_basic(reply, 's', identity); } static int sd_response_urischemes(sd_bus* bus, const char* path, const char* iface,