chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixes to the dbus code to make GetAll() in the properties iface work
[elogind.git]
/
dbus-unit.c
diff --git
a/dbus-unit.c
b/dbus-unit.c
index 5988f96102ea71b1aaeb6ea19149bdf42a2342aa..d47408265cb07e975b7abddafa1f23d075422bad 100644
(file)
--- a/
dbus-unit.c
+++ b/
dbus-unit.c
@@
-30,7
+30,7
@@
static int bus_unit_append_id(Manager *m, DBusMessageIter *i, const char *proper
id = unit_id(u);
- if (!dbus_message_iter_append_basic(i, DBUS_TYPE_STRING, &
u
))
+ if (!dbus_message_iter_append_basic(i, DBUS_TYPE_STRING, &
id
))
return -ENOMEM;
return 0;