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.c | |
parent | ea4309869e75497ba6a97c540646cb66a157a4d9 (diff) |
fixes to the dbus code to make GetAll() in the properties iface work
Diffstat (limited to 'dbus.c')
-rw-r--r-- | dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -436,7 +436,7 @@ DBusHandlerResult bus_default_message_handler(Manager *m, DBusMessage *message, if (!streq(p->interface, interface)) continue; - if (!dbus_message_iter_open_container(&sub, DBUS_TYPE_DICT_ENTRY, "sv" , &sub2) || + if (!dbus_message_iter_open_container(&sub, DBUS_TYPE_DICT_ENTRY, NULL, &sub2) || !dbus_message_iter_append_basic(&sub2, DBUS_TYPE_STRING, &p->property) || !dbus_message_iter_open_container(&sub2, DBUS_TYPE_VARIANT, p->signature, &sub3)) goto oom; |