mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
Remove "old"-style CLI handler, since nothing uses it anymore.
Closes issue #11403, patch by eliel. This also completes the janitor project. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4230,7 +4230,7 @@ static char *handle_show_switches(struct ast_cli_entry *e, int cmd, struct ast_c
|
||||
if (AST_RWLIST_EMPTY(&switches)) {
|
||||
AST_RWLIST_UNLOCK(&switches);
|
||||
ast_cli(a->fd, "There are no registered alternative switches\n");
|
||||
return RESULT_SUCCESS;
|
||||
return CLI_SUCCESS;
|
||||
}
|
||||
|
||||
ast_cli(a->fd, "\n -= Registered Asterisk Alternative Switches =-\n");
|
||||
|
||||
Reference in New Issue
Block a user