Merge "CLI: Fix 'core set debug channel' completion bug."
authorJenkins2 <jenkins2@gerrit.asterisk.org>
Mon, 18 Dec 2017 22:01:11 +0000 (16:01 -0600)
committerGerrit Code Review <gerrit2@gerrit.digium.api>
Mon, 18 Dec 2017 22:01:11 +0000 (16:01 -0600)
main/cli.c

index 75846b8..207d1f8 100644 (file)
@@ -1391,6 +1391,8 @@ static char *handle_core_set_debug_channel(struct ast_cli_entry *e, int cmd, str
                } else if (a->pos == 5) {
                        return ast_cli_complete(a->word, completions_off, a->n);
                }
+
+               return NULL;
        }
 
        if (cmd == (CLI_HANDLER + 1000)) {