summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2015-11-10 14:58:24 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2015-11-10 14:58:24 -0600
commit3e0f1617610ee60cbe00409ad5ba19fcca4342ae (patch)
tree256d9d0e279e53e91eac9553620e74b077b6d57d /apps
parent07189ee2c94c93d9f12c5020d4f77ad41d2c7e3b (diff)
parent1bff400df7ff1fda353fab49de2fcf9cbba5cd89 (diff)
Merge "ast_format_cap_get_names: To display all formats, the buffer was increased." into 13
Diffstat (limited to 'apps')
-rw-r--r--apps/app_dumpchan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dumpchan.c b/apps/app_dumpchan.c
index 1794c2565..1a5a4469a 100644
--- a/apps/app_dumpchan.c
+++ b/apps/app_dumpchan.c
@@ -72,7 +72,7 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size)
{
long elapsed_seconds = 0;
int hour = 0, min = 0, sec = 0;
- struct ast_str *format_buf = ast_str_alloca(64);
+ struct ast_str *format_buf = ast_str_alloca(AST_FORMAT_CAP_NAMES_LEN);
char cgrp[256];
char pgrp[256];
struct ast_str *write_transpath = ast_str_alloca(256);