chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4d4c80d
)
core: fix bus serialization of conditions
author
Lennart Poettering
<lennart@poettering.net>
Mon, 25 Nov 2013 16:18:38 +0000
(17:18 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 25 Nov 2013 16:40:54 +0000
(17:40 +0100)
src/core/dbus-unit.c
patch
|
blob
|
history
diff --git
a/src/core/dbus-unit.c
b/src/core/dbus-unit.c
index 3c25c36729761845b1e94b7787f5d8a842a5ff9b..666c97c98d1e5cb9c064ac6501848bcbf4cbc1d0 100644
(file)
--- 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;