]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 193274 via svnmerge from
authorSean Bright <sean@malleable.com>
Fri, 8 May 2009 15:36:16 +0000 (15:36 +0000)
committerSean Bright <sean@malleable.com>
Fri, 8 May 2009 15:36:16 +0000 (15:36 +0000)
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.1@193335 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_devstate.c

index 1cedb3e53f1b0b681bd41274aad0c6b28e303d00..eb9dade05aac3ccdc12c0f7df185fffc64ca345a 100644 (file)
@@ -249,7 +249,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);