From: Sean Bright Date: Fri, 8 May 2009 15:18:40 +0000 (+0000) Subject: Fix the spelling of UNAVAILABLE in func_devstate CLI completion. X-Git-Tag: 11.0.0-beta1~4916 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0595e95a713461ec8b68fe34788464ec4a0409a9;p=thirdparty%2Fasterisk.git 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 --- diff --git a/funcs/func_devstate.c b/funcs/func_devstate.c index 6c02ca0373..a25638867a 100644 --- a/funcs/func_devstate.c +++ b/funcs/func_devstate.c @@ -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);