summaryrefslogtreecommitdiffstats
path: root/input
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 /input
parentbbec31284f7e4e960c07bddd9fd1d7ee5c990118 (diff)
Fix authorization mechanism for 3.x.
Diffstat (limited to 'input')
-rw-r--r--input/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/server.c b/input/server.c
index 003ce53b..9267e4aa 100644
--- a/input/server.c
+++ b/input/server.c
@@ -64,7 +64,7 @@ static void auth_callback(DBusError *derr, void *user_data)
if (derr) {
error("Access denied: %s", derr->message);
if (dbus_error_has_name(derr, DBUS_ERROR_NO_REPLY))
- service_cancel_auth(&auth->dst);
+ service_cancel_auth(&auth->src, &auth->dst);
input_device_close_channels(&auth->src, &auth->dst);
} else