diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-11-13 16:31:27 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-11-13 16:31:27 +0000 |
commit | 08d4b899b52f5e43f60950b6c87095952738269c (patch) | |
tree | 3d04f696344fd5878f75edfc9ab0aececc4c9247 /hcid/dbus-service.c | |
parent | 88567b4d7664a705723766ce0333c28173fe6cfe (diff) |
Small code cleanup
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r-- | hcid/dbus-service.c | 2 |
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, |