summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-security.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-05-01 01:05:46 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-05-01 01:05:46 +0000
commit098cd10838193272c669348c5ffd0410218e1bcc (patch)
treeeb7fffb0e440dbb33391029c607de2b678bb3c2e /hcid/dbus-security.c
parent2d5441331d402a0d78c4b84a028df076f6aab8cf (diff)
fixed service authorization
Diffstat (limited to 'hcid/dbus-security.c')
-rw-r--r--hcid/dbus-security.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c
index 16ca7585..6b680c70 100644
--- a/hcid/dbus-security.c
+++ b/hcid/dbus-security.c
@@ -766,7 +766,7 @@ static DBusHandlerResult auth_agent_send_cancel(DBusMessage *msg,
const char *adapter_path,
struct service *service,
const char *address,
- const char *path)
+ const char *uuid)
{
struct auth_agent_req *req = NULL;
DBusMessage *message;
@@ -777,7 +777,7 @@ static DBusHandlerResult auth_agent_send_cancel(DBusMessage *msg,
if (!strcmp(adapter_path, req->adapter_path) &&
!strcmp(address, req->address) &&
!strcmp(service->object_path, req->service_path) &&
- !strcmp(path, req->uuid))
+ !strcmp(uuid, req->uuid))
break;
}
@@ -801,7 +801,7 @@ DBusHandlerResult cancel_authorize_request_old(DBusConnection *conn,
DBusMessage *msg,
struct service *service,
const char *address,
- const char *path)
+ const char *uuid)
{
char adapter_path[PATH_MAX];
int adapter_id;
@@ -820,7 +820,7 @@ DBusHandlerResult cancel_authorize_request_old(DBusConnection *conn,
adapter_id);
return auth_agent_send_cancel(msg, default_auth_agent, adapter_path,
- service, address, path);
+ service, address, uuid);
}
static DBusMethodVTable security_methods[] = {