summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2005-08-01 16:10:34 +0000
committerColin Walters <walters@verbum.org>2005-08-01 16:10:34 +0000
commit1889d97d4e2a0cb92dfc98c23bcbc70d6624d418 (patch)
tree63cdaf694d582028181ee5a0d3409bc581093f56 /tools
parent932272884c8fbdbed70c5a69dc408ece5044a527 (diff)
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).
Diffstat (limited to 'tools')
-rw-r--r--tools/dbus-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dbus-send.c b/tools/dbus-send.c
index 6ab3518a..375fadd9 100644
--- a/tools/dbus-send.c
+++ b/tools/dbus-send.c
@@ -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;