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 27e79e198..c16318f68 100644 --- a/apps/app_dumpchan.c +++ b/apps/app_dumpchan.c @@ -143,10 +143,10 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size) ast_channel_state(c), ast_channel_rings(c), ast_getformatname_multiple(nf, sizeof(nf), ast_channel_nativeformats(c)), - ast_getformatname(&c->writeformat), - ast_getformatname(&c->readformat), - ast_getformatname(&c->rawwriteformat), - ast_getformatname(&c->rawreadformat), + ast_getformatname(ast_channel_writeformat(c)), + ast_getformatname(ast_channel_readformat(c)), + ast_getformatname(ast_channel_rawwriteformat(c)), + ast_getformatname(ast_channel_rawreadformat(c)), ast_channel_writetrans(c) ? "Yes" : "No", ast_translate_path_to_str(ast_channel_writetrans(c), &write_transpath), ast_channel_readtrans(c) ? "Yes" : "No", |