diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-25 17:18:38 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-25 17:40:54 +0100 |
commit | 2c7e050f61d1bf142389edd4eb83c1dc58c5c641 (patch) | |
tree | edf2a3433cd6dd9177f2f814167610518f9a5701 /src/core/dbus-unit.c | |
parent | 4d4c80d073f26368d123f8cebff5b4c36a6beace (diff) |
core: fix bus serialization of conditions
Diffstat (limited to 'src/core/dbus-unit.c')
-rw-r--r-- | src/core/dbus-unit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index 3c25c36729..666c97c98d 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; |