summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-security.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-10-19 10:42:09 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-10-19 10:42:09 +0000
commite14317ed02d0c233407729fae2089686e556a9f1 (patch)
tree269590e5c2786c86a16cde6615b87c6342ed279a /hcid/dbus-security.c
parentea53e82f61878ff876e997063761baa5648ef6e2 (diff)
Append numeric parameter to passkey request
Diffstat (limited to 'hcid/dbus-security.c')
-rw-r--r--hcid/dbus-security.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c
index 20e35a6c..76eda6c7 100644
--- a/hcid/dbus-security.c
+++ b/hcid/dbus-security.c
@@ -470,6 +470,7 @@ static int call_passkey_agent(DBusConnection *conn,
{
DBusMessage *message = NULL;
struct pending_agent_request *req = NULL;
+ dbus_bool_t numeric = FALSE;
char bda[18];
char *ptr = bda;
@@ -505,6 +506,7 @@ static int call_passkey_agent(DBusConnection *conn,
dbus_message_append_args(message,
DBUS_TYPE_STRING, &path,
DBUS_TYPE_STRING, &ptr,
+ DBUS_TYPE_BOOLEAN, &numeric,
DBUS_TYPE_INVALID);
if (dbus_connection_send_with_reply(conn, message,