mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-29 16:00:12 +01:00
fix dbus-send so it can correctly send dictionaries
* tools/dbus-send.c (append_dict): Send in signature when opening up a dict entry container * AUTHORS: Add Jérémie to AUTHORS file since it was a slightly above trivial fix
This commit is contained in:
parent
7c4b345802
commit
a689ef29f1
3 changed files with 18 additions and 2 deletions
1
AUTHORS
1
AUTHORS
|
|
@ -8,6 +8,7 @@ Carlos Garcia Campos <carlosgc@gnome.org>
|
|||
Brian Cameron <brian.cameron@sun.com>
|
||||
Anders Carlsson <andersca@gnome.org>
|
||||
Frederic Crozat <fcrozat@mandriva.com>
|
||||
Jérémie Dimino <jeremie@dimino.org>
|
||||
Christian Ehrlicher <ch.ehrlicher@gmx.de>
|
||||
Harald Fernengel <harry@kdevelop.org>
|
||||
Owen Fraser-Green <owen@discobabe.net>
|
||||
|
|
|
|||
10
ChangeLog
10
ChangeLog
|
|
@ -1,3 +1,13 @@
|
|||
2008-04-03 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
Patch from Jérémie Dimino <jeremie at dimino.org>
|
||||
|
||||
* tools/dbus-send.c (append_dict): Send in signature when opening up
|
||||
a dict entry container
|
||||
|
||||
* AUTHORS: Add Jérémie to AUTHORS file since it was a slightly above
|
||||
trivial fix
|
||||
|
||||
2008-04-03 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
Patch from Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>
|
||||
|
|
|
|||
|
|
@ -150,10 +150,15 @@ 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,
|
||||
NULL,
|
||||
sig,
|
||||
&subiter);
|
||||
|
||||
append_arg (&subiter, keytype, val);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue