diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-05-21 21:29:15 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-05-27 10:43:36 +0200 |
commit | 4f7f714e118e95896fac5239c7a8b529c39a4758 (patch) | |
tree | 41a78f39f2fe9bcec0d9394525500cc43b3f41ec /src/sbus/sssd_dbus_properties.c | |
parent | 886d29fced0bcc1668a3cb99a5bca66ea486b3a4 (diff) | |
download | sssd-4f7f714e118e95896fac5239c7a8b529c39a4758.tar.gz sssd-4f7f714e118e95896fac5239c7a8b529c39a4758.tar.xz sssd-4f7f714e118e95896fac5239c7a8b529c39a4758.zip |
SBUS: Implement org.freedesktop.DBus.Properties.GetAll for primitive types
This patch implements the GetAll method of the
org.freedesktop.DBus.Properties interface by iterating over the
available getters and putting all the results into a single getter.
The patch includes a unit test that exercies all currently supported
array types.
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/sbus/sssd_dbus_properties.c')
-rw-r--r-- | src/sbus/sssd_dbus_properties.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbus/sssd_dbus_properties.c b/src/sbus/sssd_dbus_properties.c index a85f0d6e2..703f6eb81 100644 --- a/src/sbus/sssd_dbus_properties.c +++ b/src/sbus/sssd_dbus_properties.c @@ -345,7 +345,7 @@ dispatch_properties_get_all(struct sbus_connection *conn, sbus_error_new(req, DBUS_ERROR_INVALID_ARGS, "Invalid argument types passed " \ - "to Set method")); + "to GetAll method")); } dbus_message_iter_init(message, &iter); |