[asterisk-commits] qwell: trunk r306086 - /trunk/main/frame.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 3 12:37:09 CST 2011


Author: qwell
Date: Thu Feb  3 12:37:06 2011
New Revision: 306086

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=306086
Log:
Modify alignment of 'core show codecs', since the ID is no longer a huge int.

Modified:
    trunk/main/frame.c

Modified: trunk/main/frame.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/frame.c?view=diff&rev=306086&r1=306085&r2=306086
==============================================================================
--- trunk/main/frame.c (original)
+++ trunk/main/frame.c Thu Feb  3 12:37:06 2011
@@ -682,7 +682,7 @@
 		ast_cli(a->fd, "Disclaimer: this command is for informational purposes only.\n"
 				"\tIt does not indicate anything about your configuration.\n");
 
-	ast_cli(a->fd, "%19s %8s %8s %s\n","ID","TYPE","NAME","DESCRIPTION");
+	ast_cli(a->fd, "%8s %5s %8s %s\n","ID","TYPE","NAME","DESCRIPTION");
 	ast_cli(a->fd, "-----------------------------------------------------------------------------------\n");
 
 	for (x = 0; x < ARRAY_LEN(AST_FORMAT_LIST); x++) {
@@ -708,7 +708,7 @@
 			}
 		}
 
-		ast_cli(a->fd, "%19u %5s %8s (%s)\n",
+		ast_cli(a->fd, "%8u %5s %8s (%s)\n",
 			AST_FORMAT_LIST[x].id,
 			(AST_FORMAT_GET_TYPE(AST_FORMAT_LIST[x].id) == AST_FORMAT_TYPE_AUDIO) ? "audio" :
 			(AST_FORMAT_GET_TYPE(AST_FORMAT_LIST[x].id)  == AST_FORMAT_TYPE_IMAGE)  ? "image" :




More information about the asterisk-commits mailing list