[Asterisk-code-review] CLI: Fix 'core set debug channel' completion bug. (asterisk[master])

Jenkins2 asteriskteam at digium.com
Mon Dec 18 16:01:12 CST 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/7625 )

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(-)

Approvals:
  Richard Mudgett: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/main/cli.c b/main/cli.c
index 75846b8..207d1f8 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -1391,6 +1391,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/7625
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf6462088a74eee66967732b50445783ebefc20b
Gerrit-Change-Number: 7625
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171218/0347983f/attachment.html>


More information about the asterisk-code-review mailing list