diff options
author | Havoc Pennington <hp@pobox.com> | 2008-03-27 16:52:40 -0400 |
---|---|---|
committer | Havoc Pennington <hp@pobox.com> | 2008-03-27 16:52:40 -0400 |
commit | 4058579dae09659ea2dc7f3dd20e034a3be3b0bf (patch) | |
tree | af2d70e41223867420cb9c1029b1e596d9a47ef9 /tools/dbus-send.c | |
parent | 52ea0f2cbbf30d7652c38ae5ec89e663ea780b5e (diff) | |
download | dbus-4058579dae09659ea2dc7f3dd20e034a3be3b0bf.tar.gz dbus-4058579dae09659ea2dc7f3dd20e034a3be3b0bf.tar.bz2 dbus-4058579dae09659ea2dc7f3dd20e034a3be3b0bf.zip |
Do not provide a signature to dbus_message_iter_open_container() when opening a dict entry.
2008-03-27 Havoc Pennington <hp@redhat.com>
* tools/dbus-send.c (append_dict): Do not provide a signature to
dbus_message_iter_open_container() when opening a dict entry.
Diffstat (limited to 'tools/dbus-send.c')
-rw-r--r-- | tools/dbus-send.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/dbus-send.c b/tools/dbus-send.c index 66d0bcf9..407c0497 100644 --- a/tools/dbus-send.c +++ b/tools/dbus-send.c @@ -150,14 +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); |