diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-13 05:57:52 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-13 05:57:52 +0000 |
commit | 32e9fe9768a8e116f47cd4fc685afe99eaa5fbf0 (patch) | |
tree | c83afe56dd380ad387a817cd2dc25eefe9a0f91c /main/cli.c | |
parent | fa69a1b4140243cf0646833ee390f759f20c6abc (diff) |
- Constify the format string passed to ast_cli()
- Simplify printing out the warranty and license
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54147 f38db490-d61c-443f-a65b-d21fe96a405b
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; |