From 9fc9b42295fa27d79e0a8b4c4712cd0b732b7a55 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 5 Jul 2010 13:51:29 +0000 Subject: [PATCH] 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@273884 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/config.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main/config.c b/main/config.c index 05836b54fe..f2b738c692 100644 --- a/main/config.c +++ b/main/config.c @@ -1484,16 +1484,14 @@ static int config_command(int fd, int argc, char **argv) ast_mutex_lock(&config_lock); - ast_cli(fd, "\n\n"); for (eng = config_engine_list; eng; eng = eng->next) { - ast_cli(fd, "\nConfig Engine: %s\n", eng->name); + ast_cli(fd, "Config Engine: %s\n", eng->name); for (map = config_maps; map; map = map->next) if (!strcasecmp(map->driver, eng->name)) { ast_cli(fd, "===> %s (db=%s, table=%s)\n", map->name, map->database, map->table ? map->table : map->name); } } - ast_cli(fd,"\n\n"); ast_mutex_unlock(&config_lock); -- 2.47.2