mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Merged revisions 193274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r193274 | seanbright | 2009-05-08 11:18:40 -0400 (Fri, 08 May 2009) | 2 lines Fix the spelling of UNAVAILABLE in func_devstate CLI completion. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -247,7 +247,7 @@ static char *handle_cli_devstate_change(struct ast_cli_entry *e, int cmd, struct
|
||||
case CLI_GENERATE:
|
||||
{
|
||||
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)
|
||||
return ast_cli_complete(a->word, cmds, a->n);
|
||||
|
||||
Reference in New Issue
Block a user