]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove extra line breaks from 'core show config mappings'
authorPaul Belanger <paul.belanger@polybeacon.com>
Mon, 5 Jul 2010 13:51:29 +0000 (13:51 +0000)
committerPaul Belanger <paul.belanger@polybeacon.com>
Mon, 5 Jul 2010 13:51:29 +0000 (13:51 +0000)
(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

index 05836b54fe207f6ced43e4c1335434b4efd23ffa..f2b738c692a9722e62c8ed3c4de6b51007f74cf3 100644 (file)
@@ -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);