diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-01 12:44:35 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-01 12:44:35 +0100 |
commit | c401a1e0eadd2c4155acede30d332949d09a5678 (patch) | |
tree | 2896cec6d5259afc1bbeeeac1e09b6b051773c62 /dbus-unit.c | |
parent | ea4309869e75497ba6a97c540646cb66a157a4d9 (diff) |
fixes to the dbus code to make GetAll() in the properties iface work
Diffstat (limited to 'dbus-unit.c')
-rw-r--r-- | dbus-unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus-unit.c b/dbus-unit.c index 5988f96102..d47408265c 100644 --- 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; |