summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--tools/dbus-send.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 69956bc2..033b51bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,14 @@
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:
* glib/dbus-gvalue.c (dbus_g_value_types_init):
* glib/dbus-gvalue-utils.c (dbus_g_type_specialized_builtins_init)
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;