summaryrefslogtreecommitdiff
path: root/funcs/func_dialplan.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 /funcs/func_dialplan.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 'funcs/func_dialplan.c')
-rw-r--r--funcs/func_dialplan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_dialplan.c b/funcs/func_dialplan.c
index 06ba583c1..904eede29 100644
--- a/funcs/func_dialplan.c
+++ b/funcs/func_dialplan.c
@@ -136,7 +136,7 @@ static int acf_isexten_exec(struct ast_channel *chan, const char *cmd, char *par
AST_STANDARD_APP_ARGS(args, parse);
if (ast_strlen_zero(args.context)) {
- args.context = chan->context;
+ args.context = ast_strdupa(ast_channel_context(chan));
}
if (ast_strlen_zero(args.extension)) {