mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-07 06:30:17 +01:00
2005-08-01 Colin Walters <walters@verbum.org>
Patch from Joe Markus Clarke: * tools/dbus-send.c (main): Don't use C99 style initializers (bug #3933).
This commit is contained in:
parent
932272884c
commit
1889d97d4e
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2005-08-01 Colin Walters <walters@verbum.org>
|
||||
|
||||
Patch from Joe Markus Clarke:
|
||||
|
||||
* tools/dbus-send.c (main):
|
||||
|
||||
Don't use C99 style initializers (bug #3933).
|
||||
|
||||
2005-08-01 Colin Walters <walters@verbum.org>
|
||||
|
||||
Patch from Joe Markus Clarke:
|
||||
|
|
|
|||
|
|
@ -401,6 +401,7 @@ main (int argc, char *argv[])
|
|||
|
||||
if (container_type == DBUS_TYPE_DICT_ENTRY)
|
||||
{
|
||||
char sig[5];
|
||||
arg = c;
|
||||
c = strchr (c, ':');
|
||||
if (c == NULL)
|
||||
|
|
@ -410,7 +411,6 @@ main (int argc, char *argv[])
|
|||
}
|
||||
*(c++) = 0;
|
||||
secondary_type = type_from_name (arg);
|
||||
char sig[5];
|
||||
sig[0] = DBUS_DICT_ENTRY_BEGIN_CHAR;
|
||||
sig[1] = type;
|
||||
sig[2] = secondary_type;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue