diff options
author | Terry Wilson <twilson@digium.com> | 2012-02-13 17:27:06 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2012-02-13 17:27:06 +0000 |
commit | 34c55e8e7c87a92181fca3e0101dc456eef2475b (patch) | |
tree | ad27fca98a7df582348e14b0aaa42f0065cdef99 /funcs/func_dialplan.c | |
parent | a955a4770fcdd7874e1337e7df694bcd293e020e (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.c | 2 |
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)) { |