From: Terry Wilson Date: Tue, 18 Mar 2008 16:27:04 +0000 (+0000) Subject: Fix character string being treated as format string X-Git-Tag: 1.2.27~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53ca3688546e9cfb552b05898589acfbdec3bf82;p=thirdparty%2Fasterisk.git Fix character string being treated as format string git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@109488 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/astobj.h b/include/asterisk/astobj.h index 8e373c6c5c..f103364948 100644 --- a/include/asterisk/astobj.h +++ b/include/asterisk/astobj.h @@ -743,7 +743,7 @@ extern "C" { * descriptor. */ #define ASTOBJ_CONTAINER_DUMP(fd,s,slen,container) \ - ASTOBJ_CONTAINER_TRAVERSE(container, 1, do { ASTOBJ_DUMP(s,slen,iterator); ast_cli(fd, s); } while(0)) + ASTOBJ_CONTAINER_TRAVERSE(container, 1, do { ASTOBJ_DUMP(s,slen,iterator); ast_cli(fd, "%s", s); } while(0)) #if defined(__cplusplus) || defined(c_plusplus) }