diff options
author | pabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-05 13:53:44 +0000 |
---|---|---|
committer | pabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-05 13:53:44 +0000 |
commit | 03cda8e90113ec2b3b7b2943d90fb66880e82160 (patch) | |
tree | a6456912b53868b1b052f701e9a9e12e89e0d3ba /main | |
parent | 6ceebe0705d9965d4ec5141e6be816d1f087f6e7 (diff) |
Merged revisions 273884 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r273884 | pabelanger | 2010-07-05 09:51:29 -0400 (Mon, 05 Jul 2010) | 8 lines
Remove extra line breaks from 'core show config mappings'
(closes issue #17583)
Reported by: pabelanger
Patches:
issue17583.patch uploaded by pabelanger (license 224)
Tested by: lmadsen
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@273886 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/main/config.c b/main/config.c index 9527baa79..9400abd8c 100644 --- a/main/config.c +++ b/main/config.c @@ -2461,9 +2461,8 @@ static char *handle_cli_core_show_config_mappings(struct ast_cli_entry *e, int c if (!config_engine_list) { ast_cli(a->fd, "No config mappings found.\n"); } else { - ast_cli(a->fd, "\n\n"); for (eng = config_engine_list; eng; eng = eng->next) { - ast_cli(a->fd, "\nConfig Engine: %s\n", eng->name); + ast_cli(a->fd, "Config Engine: %s\n", eng->name); for (map = config_maps; map; map = map->next) { if (!strcasecmp(map->driver, eng->name)) { ast_cli(a->fd, "===> %s (db=%s, table=%s)\n", map->name, map->database, @@ -2471,7 +2470,6 @@ static char *handle_cli_core_show_config_mappings(struct ast_cli_entry *e, int c } } } - ast_cli(a->fd,"\n\n"); } ast_mutex_unlock(&config_lock); |