diff options
author | Jason Parker <jparker@digium.com> | 2011-02-03 18:37:06 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2011-02-03 18:37:06 +0000 |
commit | 7f76b3d573c3c828c971899ba6432a4b34daf6ad (patch) | |
tree | 4a632a15a67a2a11e0f651b5fc709877d05ed80c /main/frame.c | |
parent | 63f5a80a3bb4b408e9d5a39c4fcc88505113a0bb (diff) |
Modify alignment of 'core show codecs', since the ID is no longer a huge int.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/frame.c')
-rw-r--r-- | main/frame.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/frame.c b/main/frame.c index 4ffb31fb9..6805fea46 100644 --- a/main/frame.c +++ b/main/frame.c @@ -682,7 +682,7 @@ static char *show_codecs(struct ast_cli_entry *e, int cmd, struct ast_cli_args * 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 @@ static char *show_codecs(struct ast_cli_entry *e, int cmd, struct ast_cli_args * } } - 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" : |