dbus/tools dbus-send.c,1.19,1.20

Colin Walters walters at freedesktop.org
Tue Aug 2 02:10:36 EST 2005


Update of /cvs/dbus/dbus/tools
In directory gabe:/tmp/cvs-serv23304/tools

Modified Files:
	dbus-send.c 
Log Message:
2005-08-01  Colin Walters  <walters at verbum.org>

	Patch from Joe Markus Clarke:	
	
	* tools/dbus-send.c (main): 
	
	Don't use C99 style initializers (bug #3933).


Index: dbus-send.c
===================================================================
RCS file: /cvs/dbus/dbus/tools/dbus-send.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- dbus-send.c	13 Jul 2005 21:13:16 -0000	1.19
+++ dbus-send.c	1 Aug 2005 16:10:34 -0000	1.20
@@ -401,6 +401,7 @@
 
       if (container_type == DBUS_TYPE_DICT_ENTRY)
 	{
+	  char sig[5];
 	  arg = c;
 	  c = strchr (c, ':');
 	  if (c == NULL)
@@ -410,7 +411,6 @@
 	    }
 	  *(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;



More information about the dbus-commit mailing list