[asterisk-commits] trunk r21236 - /trunk/pbx.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Apr 18 16:25:23 MST 2006


Author: kpfleming
Date: Tue Apr 18 18:25:22 2006
New Revision: 21236

URL: http://svn.digium.com/view/asterisk?rev=21236&view=rev
Log:
doh! don't double-increment the bracket count for embedded references

Modified:
    trunk/pbx.c

Modified: trunk/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx.c?rev=21236&r1=21235&r2=21236&view=diff
==============================================================================
--- trunk/pbx.c (original)
+++ trunk/pbx.c Tue Apr 18 18:25:22 2006
@@ -1346,7 +1346,6 @@
 			while (brackets && *vare) {
 				if ((vare[0] == '$') && (vare[1] == '{')) {
 					needsub++;
-					brackets++;
 				} else if (vare[0] == '{') {
 					brackets++;
 				} else if (vare[0] == '}') {



More information about the asterisk-commits mailing list