summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-service.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-25 12:11:44 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-25 12:11:44 +0000
commit548af209820a7fce360f852db81ac38807c3aa3b (patch)
treee44fc249d145cfcb0ac016df544c8e362d7a8863 /hcid/dbus-service.c
parent6df9fdf35996a69d5f711abb061c1671675872b0 (diff)
Make IsExternal() experimental
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r--hcid/dbus-service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c
index 6ff18f2e..d60cc6f8 100644
--- a/hcid/dbus-service.c
+++ b/hcid/dbus-service.c
@@ -448,6 +448,9 @@ static DBusHandlerResult is_external(DBusConnection *conn,
struct service *service = data;
DBusMessage *reply;
+ if (!hcid_dbus_use_experimental())
+ return error_unknown_method(conn, msg);
+
reply = dbus_message_new_method_return(msg);
if (!reply)
return DBUS_HANDLER_RESULT_NEED_MEMORY;