[Asterisk-cvs] asterisk/pbx pbx_ael.c,1.3,1.4
markster at lists.digium.com
markster at lists.digium.com
Fri Jun 17 10:32:14 CDT 2005
Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv31718/pbx
Modified Files:
pbx_ael.c
Log Message:
Oops
Index: pbx_ael.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_ael.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- pbx_ael.c 17 Jun 2005 12:56:35 -0000 1.3
+++ pbx_ael.c 17 Jun 2005 14:33:29 -0000 1.4
@@ -699,8 +699,6 @@
while(*args && (*args < 33)) args++;
if (aeldebug & DEBUG_TOKENS)
ast_verbose("--JUMP to : '%s'\n", args);
- mlen = strlen(exten) + 128 + strlen(args) + strlen(name) + (c ? strlen(c) : 0);
- margs = alloca(mlen);
p = strchr(args, ',');
if (p) {
*p = '\0';
@@ -712,6 +710,8 @@
*c = '\0';
c++;
}
+ mlen = strlen(exten) + 128 + strlen(args) + strlen(name) + (c ? strlen(c) : 0);
+ margs = alloca(mlen);
if (c)
snprintf(margs, mlen, "%s|%s|%s", c,args, p);
else
More information about the svn-commits
mailing list