summaryrefslogtreecommitdiffstats
path: root/input/server.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-15 22:49:02 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-15 22:49:02 +0000
commitdcada8eed787ddcca19634f5a71a4dd0a2dc1856 (patch)
tree5dc0a6641d1326fb634958f30bc579a7a6e6afe7 /input/server.c
parentdcaedb1f984f1af368861c4ebb6a6906aee75ac9 (diff)
Fix wrong usage of non const bdaddr_t
Diffstat (limited to 'input/server.c')
-rw-r--r--input/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/server.c b/input/server.c
index 48ffd7fd..976b8522 100644
--- a/input/server.c
+++ b/input/server.c
@@ -122,7 +122,7 @@ static void auth_callback(DBusError *derr, void *user_data)
g_free(auth);
}
-static int authorize_device(bdaddr_t *src, bdaddr_t *dst)
+static int authorize_device(const bdaddr_t *src, const bdaddr_t *dst)
{
struct authorization_data *auth;
DBusMessage *msg;