From d5dd4c0246576a171b1067ae098bb751c4f261c6 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 20 Mar 2008 19:52:55 +0000 Subject: Add adapter to agent_create. --- hcid/adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hcid/adapter.c') diff --git a/hcid/adapter.c b/hcid/adapter.c index 6deb93b5..62b17334 100644 --- a/hcid/adapter.c +++ b/hcid/adapter.c @@ -3836,7 +3836,7 @@ static DBusHandlerResult register_agent(DBusConnection *conn, name = dbus_message_get_sender(msg); - agent = agent_create(name, path, NULL, + agent = agent_create(adapter, name, path, NULL, (agent_remove_cb) agent_removed, adapter); if (!agent) { dbus_message_unref(reply); -- cgit