[Asterisk-code-review] CLI: Fix 'core set debug channel' completion bug. (asterisk[15])
Corey Farrell
asteriskteam at digium.com
Mon Dec 18 12:35:54 CST 2017
Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/7626
Change subject: CLI: Fix 'core set debug channel' completion bug.
......................................................................
CLI: Fix 'core set debug channel' completion bug.
The completion generator is missing a return so typing "core set debug
all off <tab>" causes the command to actually execute.
Change-Id: Ibf6462088a74eee66967732b50445783ebefc20b
---
M main/cli.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/26/7626/1
diff --git a/main/cli.c b/main/cli.c
index 0f023b2..654134e 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -1418,6 +1418,8 @@
} else if (a->pos == 5) {
return ast_cli_complete(a->word, completions_off, a->n);
}
+
+ return NULL;
}
if (cmd == (CLI_HANDLER + 1000)) {
--
To view, visit https://gerrit.asterisk.org/7626
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf6462088a74eee66967732b50445783ebefc20b
Gerrit-Change-Number: 7626
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171218/34536a68/attachment.html>
More information about the asterisk-code-review
mailing list