diff options
Diffstat (limited to 'apps/app_dumpchan.c')
-rw-r--r-- | apps/app_dumpchan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_dumpchan.c b/apps/app_dumpchan.c index feaeda29e..47888935b 100644 --- a/apps/app_dumpchan.c +++ b/apps/app_dumpchan.c @@ -126,10 +126,10 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size) c->_state, c->rings, ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->nativeformats), - ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->writeformat), - ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->readformat), - ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->rawwriteformat), - ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->rawreadformat), + ast_getformatname(&c->writeformat), + ast_getformatname(&c->readformat), + ast_getformatname(&c->rawwriteformat), + ast_getformatname(&c->rawreadformat), c->fds[0], c->fin & ~DEBUGCHAN_FLAG, (c->fin & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "", c->fout & ~DEBUGCHAN_FLAG, (c->fout & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "", (long)c->whentohangup.tv_sec, hour, |