mirror of
https://github.com/asterisk/asterisk.git
synced 2026-01-06 01:51:14 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user