[svn-commits] twilson: branch 1.4 r109482 - /branches/1.4/include/asterisk/astobj.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 18 11:25:48 CDT 2008


Author: twilson
Date: Tue Mar 18 11:25:47 2008
New Revision: 109482

URL: http://svn.digium.com/view/asterisk?view=rev&rev=109482
Log:
Fix character string being treated ad format string

Modified:
    branches/1.4/include/asterisk/astobj.h

Modified: branches/1.4/include/asterisk/astobj.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/astobj.h?view=diff&rev=109482&r1=109481&r2=109482
==============================================================================
--- branches/1.4/include/asterisk/astobj.h (original)
+++ branches/1.4/include/asterisk/astobj.h Tue Mar 18 11:25:47 2008
@@ -813,7 +813,7 @@
  * 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)
 }




More information about the svn-commits mailing list