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
This commit is contained in:
parent
eec3f78368
commit
741c0ba9df
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue