summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-10-09 11:04:35 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-10-09 11:04:35 +0200
commita85ab2353b4d430a7fb575c1348b6bf27447635d (patch)
tree62012f5789a26be34f7e083cd813e48aebc8468d
parent7ae7411673179739dbd9efb5e4c46178457cf006 (diff)
downloadobexd-a85ab2353b4d430a7fb575c1348b6bf27447635d.tar.gz
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.
-rw-r--r--client/bluetooth.c1
1 files changed, 1 insertions, 0 deletions
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);