From 2c7e050f61d1bf142389edd4eb83c1dc58c5c641 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 25 Nov 2013 17:18:38 +0100 Subject: [PATCH] core: fix bus serialization of conditions --- src/core/dbus-unit.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index 3c25c3672..666c97c98 100644 --- a/src/core/dbus-unit.c +++ b/src/core/dbus-unit.c @@ -326,7 +326,10 @@ static int property_get_conditions( return r; LIST_FOREACH(conditions, c, u->conditions) { - r = sd_bus_message_append(reply, "sbbsi", condition_type_to_string(c->type), c->trigger, c->negate, c->parameter, c->state); + r = sd_bus_message_append(reply, "(sbbsi)", + condition_type_to_string(c->type), + c->trigger, c->negate, + c->parameter, c->state); if (r < 0) return r; -- 2.30.2