diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-18 23:25:22 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-18 23:25:22 +0000 |
commit | 350446cca6ef20ce133c4ee8fc2e4868fde1a922 (patch) | |
tree | 3b538d48f2cf00314e9d7b9315e1319cb9aad5bf /pbx.c | |
parent | 7ddbf31401ab5388bf1abcf33f3c7a67d507754a (diff) |
doh! don't double-increment the bracket count for embedded references
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21236 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r-- | pbx.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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] == '}') { |