diff mbox series

[BlueZ] tools: Fix g_dbus_setup_private connection check in mpris-proxy

Message ID 20220330094740.45637-1-frederic.danis@collabora.com
State New
Headers show
Series [BlueZ] tools: Fix g_dbus_setup_private connection check in mpris-proxy | expand

Commit Message

Frédéric Danis March 30, 2022, 9:47 a.m. UTC
---
 tools/mpris-proxy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

patchwork-bot+bluetooth@kernel.org April 4, 2022, 5:14 p.m. UTC | #1
Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Wed, 30 Mar 2022 11:47:40 +0200 you wrote:
> ---
>  tools/mpris-proxy.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [BlueZ] tools: Fix g_dbus_setup_private connection check in mpris-proxy
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=0f382885d4a3

You are awesome, thank you!
diff mbox series

Patch

diff --git a/tools/mpris-proxy.c b/tools/mpris-proxy.c
index 91a25501d..3779b6887 100644
--- a/tools/mpris-proxy.c
+++ b/tools/mpris-proxy.c
@@ -1978,7 +1978,7 @@  static void register_player(GDBusProxy *proxy)
 
 	player->conn = g_dbus_setup_private(DBUS_BUS_SESSION, player->bus_name,
 									NULL);
-	if (!session) {
+	if (!player->conn) {
 		fprintf(stderr, "Could not register bus name %s",
 							player->bus_name);
 		goto fail;