summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c
index ed6e3fcf..75a72de1 100644
--- a/hcid/dbus-service.c
+++ b/hcid/dbus-service.c
@@ -563,7 +563,7 @@ static DBusHandlerResult is_running(DBusConnection *conn,
if (!reply)
return DBUS_HANDLER_RESULT_NEED_MEMORY;
- running = (agent->running ? TRUE : FALSE);
+ running = (agent->running == SERVICE_RUNNING ? TRUE : FALSE);
dbus_message_append_args(reply,
DBUS_TYPE_BOOLEAN, &running,