summaryrefslogtreecommitdiff
path: root/tools/dbus-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dbus-send.c')
-rw-r--r--tools/dbus-send.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/tools/dbus-send.c b/tools/dbus-send.c
index 3276b950..407c0497 100644
--- a/tools/dbus-send.c
+++ b/tools/dbus-send.c
@@ -150,15 +150,10 @@ append_dict (DBusMessageIter *iter, int keytype, int valtype, const char *value)
while (val != NULL)
{
DBusMessageIter subiter;
- char sig[3];
-
- sig[0] = keytype;
- sig[1] = valtype;
- sig[2] = '\0';
-
+
dbus_message_iter_open_container (iter,
DBUS_TYPE_DICT_ENTRY,
- sig,
+ NULL,
&subiter);
append_arg (&subiter, keytype, val);