# HG changeset patch # User Michael Albinus # Date 1222808437 0 # Node ID e5f33aa05b97d1173439f436cd7584cd233fe61c # Parent 940e2c1cbc71ab6e3b95f52ffe9e251f418741d2 * dbusbind.c (xd_signature): Use strcat instead of sprintf. diff -r 940e2c1cbc71 -r e5f33aa05b97 src/dbusbind.c --- a/src/dbusbind.c Tue Sep 30 19:14:16 2008 +0000 +++ b/src/dbusbind.c Tue Sep 30 21:00:37 2008 +0000 @@ -298,7 +298,7 @@ strcat (signature, x); elt = CDR_SAFE (XD_NEXT_VALUE (elt)); } - sprintf (signature, "%s%c", signature, DBUS_STRUCT_END_CHAR); + strcat (signature, DBUS_STRUCT_END_CHAR_AS_STRING); break; case DBUS_TYPE_DICT_ENTRY: @@ -335,7 +335,7 @@ CAR_SAFE (CDR_SAFE (XD_NEXT_VALUE (elt)))); /* Closing signature. */ - sprintf (signature, "%s%c", signature, DBUS_DICT_ENTRY_END_CHAR); + strcat (signature, DBUS_DICT_ENTRY_END_CHAR_AS_STRING); break; default: