mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
automerge commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@21274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
pbx.c
3
pbx.c
@@ -1471,9 +1471,10 @@ static void pbx_substitute_variables_helper_full(struct ast_channel *c, struct v
|
||||
needsub = 0;
|
||||
|
||||
/* Find the end of it */
|
||||
while(brackets && *vare) {
|
||||
while (brackets && *vare) {
|
||||
if ((vare[0] == '$') && (vare[1] == '{')) {
|
||||
needsub++;
|
||||
} else if (vare[0] == '{') {
|
||||
brackets++;
|
||||
} else if (vare[0] == '}') {
|
||||
brackets--;
|
||||
|
Reference in New Issue
Block a user