- Constify the format string passed to ast_cli()

- Simplify printing out the warranty and license


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-02-13 05:57:52 +00:00
parent 8f8df3e5a9
commit 4300a7a6cd
3 changed files with 44 additions and 50 deletions

View File

@@ -54,7 +54,7 @@ AST_THREADSTORAGE(ast_cli_buf);
/*! \brief Initial buffer size for resulting strings in ast_cli() */
#define AST_CLI_INITLEN 256
void ast_cli(int fd, char *fmt, ...)
void ast_cli(int fd, const char *fmt, ...)
{
int res;
struct ast_str *buf;