summaryrefslogtreecommitdiff
path: root/apps/app_verbose.c
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2012-02-13 17:27:06 +0000
committerTerry Wilson <twilson@digium.com>2012-02-13 17:27:06 +0000
commit34c55e8e7c87a92181fca3e0101dc456eef2475b (patch)
treead27fca98a7df582348e14b0aaa42f0065cdef99 /apps/app_verbose.c
parenta955a4770fcdd7874e1337e7df694bcd293e020e (diff)
Opaquify char * and char[] in ast_channel
Review: https://reviewboard.asterisk.org/r/1733/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_verbose.c')
-rw-r--r--apps/app_verbose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_verbose.c b/apps/app_verbose.c
index c8c64617c..14ff2fb05 100644
--- a/apps/app_verbose.c
+++ b/apps/app_verbose.c
@@ -155,8 +155,8 @@ static int log_exec(struct ast_channel *chan, const char *data)
}
if (lnum > -1) {
- snprintf(context, sizeof(context), "@ %s", chan->context);
- snprintf(extension, sizeof(extension), "Ext. %s", chan->exten);
+ snprintf(context, sizeof(context), "@ %s", ast_channel_context(chan));
+ snprintf(extension, sizeof(extension), "Ext. %s", ast_channel_exten(chan));
ast_log(lnum, extension, chan->priority, context, "%s\n", args.msg);
}