From: James Golovich Date: Sat, 13 Oct 2007 08:38:50 +0000 (+0000) Subject: Fix compiling cli.c due to differences with new cli system (closes issue X-Git-Tag: 1.6.0-beta1~3^2~1214 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=741c0ba9df95ef1d4ccfe0334b63c1aeb604f4b1;p=thirdparty%2Fasterisk.git Fix compiling cli.c due to differences with new cli system (closes issue 0010966) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85535 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/cli.c b/main/cli.c index 3a08eae7cf..7c87e18e44 100644 --- a/main/cli.c +++ b/main/cli.c @@ -374,7 +374,7 @@ static char *handle_logger_mute(struct ast_cli_entry *e, int cmd, struct ast_cli if (a->argc < 2 || a->argc > 3) return CLI_SHOWUSAGE; - if (a->argc == 3 && !strcasecmp(argv[2], "silent")) + if (a->argc == 3 && !strcasecmp(a->argv[2], "silent")) ast_console_toggle_mute(a->fd, 1); else ast_console_toggle_mute(a->fd, 0);