[asterisk-commits] file: trunk r432946 - in /trunk: ./ main/cli.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Mar 13 20:37:25 CDT 2015
Author: file
Date: Fri Mar 13 20:37:24 2015
New Revision: 432946
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=432946
Log:
core: Fix tab completion of "core set debug channel" CLI command.
The "core set debug channel" CLI command mistakenly had source filenames
added to its tab completion. This occurred because the CLI generator fell back
to the "core set debug" command which permits setting debug at a source
filename level.
ASTERISK-18708 #close
Reported by: Dave Cabot
........
Merged revisions 432944 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 432945 from http://svn.asterisk.org/svn/asterisk/branches/13
Modified:
trunk/ (props changed)
trunk/main/cli.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.
Modified: trunk/main/cli.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/cli.c?view=diff&rev=432946&r1=432945&r2=432946
==============================================================================
--- trunk/main/cli.c (original)
+++ trunk/main/cli.c Fri Mar 13 20:37:24 2015
@@ -487,7 +487,7 @@
return ast_strdup("atleast");
}
#if !defined(LOW_MEMORY)
- } else if ((a->pos == 4 && !atleast && strcasecmp(argv3, "off"))
+ } else if ((a->pos == 4 && !atleast && strcasecmp(argv3, "off") && strcasecmp(argv3, "channel"))
|| (a->pos == 5 && atleast)) {
const char *pos = S_OR(a->argv[a->pos], "");
More information about the asterisk-commits
mailing list