mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-20 03:26:55 +00:00
Fix the spelling of UNAVAILABLE in func_devstate CLI completion.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@193274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -256,7 +256,7 @@ static char *handle_cli_devstate_change(struct ast_cli_entry *e, int cmd, struct
|
|||||||
case CLI_GENERATE:
|
case CLI_GENERATE:
|
||||||
{
|
{
|
||||||
static char * const cmds[] = { "UNKNOWN", "NOT_INUSE", "INUSE", "BUSY",
|
static char * const cmds[] = { "UNKNOWN", "NOT_INUSE", "INUSE", "BUSY",
|
||||||
"UNAVAILALBE", "RINGING", "RINGINUSE", "ONHOLD", NULL };
|
"UNAVAILABLE", "RINGING", "RINGINUSE", "ONHOLD", NULL };
|
||||||
|
|
||||||
if (a->pos == e->args + 1)
|
if (a->pos == e->args + 1)
|
||||||
return ast_cli_complete(a->word, cmds, a->n);
|
return ast_cli_complete(a->word, cmds, a->n);
|
||||||
|
Reference in New Issue
Block a user