From 08d4b899b52f5e43f60950b6c87095952738269c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 13 Nov 2006 16:31:27 +0000 Subject: Small code cleanup --- hcid/dbus-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hcid/dbus-service.c') 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, -- cgit