one more oops (when global variables need substitutions)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Kevin P. Fleming 20 years ago
parent 5156c0621f
commit 02c80ab20b

@ -1557,7 +1557,7 @@ static void pbx_substitute_variables_helper_full(struct ast_channel *c, struct v
void pbx_substitute_variables_helper(struct ast_channel *c, const char *cp1, char *cp2, int count)
{
pbx_substitute_variables_helper_full(c, &c->varshead, cp1, cp2, count);
pbx_substitute_variables_helper_full(c, (c) ? &c->varshead : NULL, cp1, cp2, count);
}
void pbx_substitute_variables_varshead(struct varshead *headp, const char *cp1, char *cp2, int count)

Loading…
Cancel
Save