summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-database.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-01-24 15:19:19 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-01-24 15:19:19 +0000
commitab5967b2b95955accb3aad59f65e1eae6c6bd7ef (patch)
tree8a4e29a8478c5f177740f0e57830318e8cd94b9a /hcid/dbus-database.c
parent138df419579f4a02b63f1055a436bc721b02ca2f (diff)
s/internal/external/ with respect to services
Diffstat (limited to 'hcid/dbus-database.c')
-rw-r--r--hcid/dbus-database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-database.c b/hcid/dbus-database.c
index 423d117b..fbd79c91 100644
--- a/hcid/dbus-database.c
+++ b/hcid/dbus-database.c
@@ -312,7 +312,7 @@ static DBusHandlerResult unregister_service(DBusConnection *conn,
if (!service)
return error_service_does_not_exist(conn, msg);
- if (!service->internal || strcmp(sender, service->bus_name))
+ if (!service->external || strcmp(sender, service->bus_name))
return error_not_authorized(conn, msg);
if (service_unregister(service) < 0)