summaryrefslogtreecommitdiff
path: root/src/logind-dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-24 20:41:22 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-24 20:41:22 +0200
commitdec15e9263cadae02f4f51463860248af40475d0 (patch)
tree2a3db8606d4596a3aac939ec4c81edfceb09ac84 /src/logind-dbus.c
parent19bc719ec28e731159671b06254d9bfd49014894 (diff)
logind: fix generation of bus arrays
Diffstat (limited to 'src/logind-dbus.c')
-rw-r--r--src/logind-dbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/logind-dbus.c b/src/logind-dbus.c
index 693906ef70..2a85749478 100644
--- a/src/logind-dbus.c
+++ b/src/logind-dbus.c
@@ -589,7 +589,7 @@ static DBusHandlerResult manager_message_handler(
dbus_message_iter_init_append(reply, &iter);
- if (!dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY, "susso", &sub))
+ if (!dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY, "(susso)", &sub))
goto oom;
HASHMAP_FOREACH(session, m->sessions, i) {
@@ -635,7 +635,7 @@ static DBusHandlerResult manager_message_handler(
dbus_message_iter_init_append(reply, &iter);
- if (!dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY, "uso", &sub))
+ if (!dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY, "(uso)", &sub))
goto oom;
HASHMAP_FOREACH(user, m->users, i) {
@@ -679,7 +679,7 @@ static DBusHandlerResult manager_message_handler(
dbus_message_iter_init_append(reply, &iter);
- if (!dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY, "so", &sub))
+ if (!dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY, "(so)", &sub))
goto oom;
HASHMAP_FOREACH(seat, m->seats, i) {