summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-06-17 19:37:36 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-06-17 19:37:36 +0000
commite8ca2351ee3ba3f8b2b99731972234f42ae9b64b (patch)
tree8a639f9f831dd79ec2b3b8d5d952d649885a59ba /network
parentbbec31284f7e4e960c07bddd9fd1d7ee5c990118 (diff)
Fix authorization mechanism for 3.x.
Diffstat (limited to 'network')
-rw-r--r--network/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/server.c b/network/server.c
index 7d951765..e94964ae 100644
--- a/network/server.c
+++ b/network/server.c
@@ -363,7 +363,7 @@ static void req_auth_cb(DBusError *derr, void *user_data)
if (dbus_error_has_name(derr, DBUS_ERROR_NO_REPLY)) {
bdaddr_t dst;
str2ba(setup->address, &dst);
- service_cancel_auth(&dst);
+ service_cancel_auth(&ns->src, &dst);
}
val = BNEP_CONN_NOT_ALLOWED;
goto done;