[asterisk-commits] file: branch 13 r432945 - in /branches/13: ./ main/cli.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 13 20:36:57 CDT 2015


Author: file
Date: Fri Mar 13 20:36:56 2015
New Revision: 432945

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=432945
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

Modified:
    branches/13/   (props changed)
    branches/13/main/cli.c

Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: branches/13/main/cli.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/main/cli.c?view=diff&rev=432945&r1=432944&r2=432945
==============================================================================
--- branches/13/main/cli.c (original)
+++ branches/13/main/cli.c Fri Mar 13 20:36:56 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