diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-02-13 05:57:52 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-02-13 05:57:52 +0000 |
commit | 4300a7a6cd172455fb91794cda2a82f039bb9532 (patch) | |
tree | c83afe56dd380ad387a817cd2dc25eefe9a0f91c /main/cli.c | |
parent | 8f8df3e5a98afa5a450a5451793d22005a1d2100 (diff) |
- 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
Diffstat (limited to 'main/cli.c')
-rw-r--r-- | main/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/cli.c b/main/cli.c index 3fafd35d8..538a2dbaf 100644 --- a/main/cli.c +++ b/main/cli.c @@ -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; |