[asterisk-commits] russell: tag 1.4.18.1 r109539 - /tags/1.4.18.1/include/asterisk/astobj.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 18 11:43:03 CDT 2008


Author: russell
Date: Tue Mar 18 11:43:02 2008
New Revision: 109539

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

Modified:
    tags/1.4.18.1/include/asterisk/astobj.h

Modified: tags/1.4.18.1/include/asterisk/astobj.h
URL: http://svn.digium.com/view/asterisk/tags/1.4.18.1/include/asterisk/astobj.h?view=diff&rev=109539&r1=109538&r2=109539
==============================================================================
--- tags/1.4.18.1/include/asterisk/astobj.h (original)
+++ tags/1.4.18.1/include/asterisk/astobj.h Tue Mar 18 11:43:02 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 asterisk-commits mailing list