mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-05 22:50:35 +01:00
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.
This commit is contained in:
parent
52ea0f2cbb
commit
4058579dae
2 changed files with 6 additions and 5 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
||||
2008-03-26 Colin Walters <walters@verbum.org>
|
||||
|
||||
Patch from Scott James Remnant <scott@netsplit.com>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue