From: Paul Belanger Date: Mon, 5 Jul 2010 13:51:29 +0000 (+0000) Subject: Remove extra line breaks from 'core show config mappings' X-Git-Tag: 1.4.35-rc1~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fc9b42295fa27d79e0a8b4c4712cd0b732b7a55;p=thirdparty%2Fasterisk.git 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 --- 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);