summaryrefslogtreecommitdiff
path: root/main/cli.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2011-12-12 19:35:08 +0000
committerMatthew Jordan <mjordan@digium.com>2011-12-12 19:35:08 +0000
commit9057aa20b6b822d3c14c241bea9709e6b61d7dbe (patch)
tree6445c15c9eff3077dbd60ae7414b3583b1275acb /main/cli.c
parente2597678b1bf10bb2ea2fac9cd6c3bd6e53e5b46 (diff)
Backed out core changes from r346391
During testing, it was discovered that there were a number of side effects introduced by r346391 and subsequent check-ins related to it (r346429, r346617, and r346655). This included the /main/stdtime/ test 'hanging', as well as the remote console option failing to receive the appropriate output after a period of time. I only backed out the changes to main/ and utils/, as this was adequate to reverse the behavior experienced. (issue ASTERISK-18974) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@347997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/cli.c')
-rw-r--r--main/cli.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/main/cli.c b/main/cli.c
index 9c66b6767..c35b941d1 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -382,20 +382,6 @@ static char *complete_number(const char *partial, unsigned int min, unsigned int
return NULL;
}
-static char *handle_localverbose(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
-{
- switch (cmd) {
- case CLI_INIT:
- e->command = "remote set verbose";
- e->usage = "Usage: remote set verbose <level>\n";
- return NULL;
- case CLI_GENERATE:
- return NULL;
- }
- ast_cli(a->fd, "This is the main console. Use 'core set verbose' instead.\n");
- return CLI_FAILURE;
-}
-
static char *handle_verbose(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
int oldval;
@@ -1682,8 +1668,6 @@ static struct ast_cli_entry cli_cli[] = {
AST_CLI_DEFINE(handle_showchan, "Display information on a specific channel"),
- AST_CLI_DEFINE(handle_localverbose, "Set level of remote console verbosity"),
-
AST_CLI_DEFINE(handle_core_set_debug_channel, "Enable/disable debugging on a channel"),
AST_CLI_DEFINE(handle_verbose, "Set level of debug/verbose chattiness"),