aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-18 23:25:22 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-18 23:25:22 +0000
commit350446cca6ef20ce133c4ee8fc2e4868fde1a922 (patch)
tree3b538d48f2cf00314e9d7b9315e1319cb9aad5bf /pbx.c
parent7ddbf31401ab5388bf1abcf33f3c7a67d507754a (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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index 85d692da9..5eb4fe416 100644
--- a/pbx.c
+++ b/pbx.c
@@ -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] == '}') {