summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-service.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-11-13 16:31:27 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-11-13 16:31:27 +0000
commit08d4b899b52f5e43f60950b6c87095952738269c (patch)
tree3d04f696344fd5878f75edfc9ab0aececc4c9247 /hcid/dbus-service.c
parent88567b4d7664a705723766ce0333c28173fe6cfe (diff)
Small code cleanup
Diffstat (limited to 'hcid/dbus-service.c')
-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,