Fix the spelling of UNAVAILABLE in func_devstate CLI completion.
authorSean Bright <sean@malleable.com>
Fri, 8 May 2009 15:18:40 +0000 (15:18 +0000)
committerSean Bright <sean@malleable.com>
Fri, 8 May 2009 15:18:40 +0000 (15:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@193274 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_devstate.c

index 6c02ca0..a256388 100644 (file)
@@ -256,7 +256,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);