From a85ab2353b4d430a7fb575c1348b6bf27447635d Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 9 Oct 2012 11:04:35 +0200 Subject: client: Fix not using port when it is set by the client If the client set a channel/port the code would just ignore and attempt to discover the service anyway. --- client/bluetooth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/bluetooth.c b/client/bluetooth.c index a22d717..ad263e0 100644 --- a/client/bluetooth.c +++ b/client/bluetooth.c @@ -581,6 +581,7 @@ static guint bluetooth_connect(const char *source, const char *destination, session->id = ++id; session->func = func; + session->port = port; session->user_data = user_data; session->conn = g_dbus_setup_bus(DBUS_BUS_SYSTEM, NULL, NULL); -- cgit v1.2.1