[svn-commits] pabelanger: branch 1.4 r273884 - /branches/1.4/main/config.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jul 5 08:51:34 CDT 2010


Author: pabelanger
Date: Mon Jul  5 08:51:29 2010
New Revision: 273884

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=273884
Log:
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

Modified:
    branches/1.4/main/config.c

Modified: branches/1.4/main/config.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/config.c?view=diff&rev=273884&r1=273883&r2=273884
==============================================================================
--- branches/1.4/main/config.c (original)
+++ branches/1.4/main/config.c Mon Jul  5 08:51:29 2010
@@ -1484,16 +1484,14 @@
 	
 	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);
 




More information about the svn-commits mailing list