doh! don't double-increment the bracket count for embedded references

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Kevin P. Fleming 19 years ago
parent c87f4bd7a8
commit bcecc3d863

@ -1346,7 +1346,6 @@ static void pbx_substitute_variables_helper_full(struct ast_channel *c, struct v
while (brackets && *vare) {
if ((vare[0] == '$') && (vare[1] == '{')) {
needsub++;
brackets++;
} else if (vare[0] == '{') {
brackets++;
} else if (vare[0] == '}') {

Loading…
Cancel
Save