diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-03-14 19:47:43 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-03-14 19:47:43 +0000 |
commit | 6668f2517d3cc74a6bb3e70773d3fa15b679484c (patch) | |
tree | 6610b1161299e5aecec5ec06b24b359ce0ec8864 /hcid/agent.c | |
parent | d3b161cefcb2759c2c8a2fee00ee9f51ca84371b (diff) |
Fix calling of agent release function
Diffstat (limited to 'hcid/agent.c')
-rw-r--r-- | hcid/agent.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hcid/agent.c b/hcid/agent.c index fa7b3984..2dab62e5 100644 --- a/hcid/agent.c +++ b/hcid/agent.c @@ -86,7 +86,6 @@ struct agent_request { static DBusConnection *connection = NULL; -static void release_agent(struct agent *agent); static void send_cancel_request(struct agent_request *req); static void agent_free(struct agent *agent) @@ -112,7 +111,7 @@ static void agent_free(struct agent *agent) g_source_remove(agent->timeout); if (!agent->exited) - release_agent(agent); + agent_release(agent); g_free(agent->name); g_free(agent->path); @@ -550,7 +549,7 @@ static void send_cancel_request(struct agent_request *req) agent_request_free(req); } -void release_agent(struct agent *agent) +void agent_release(struct agent *agent) { DBusMessage *message; |