[asterisk-commits] murf: branch group/replace_macro_with_gosub_in_dial r70356 - /team/group/repl...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 20 12:21:00 CDT 2007
Author: murf
Date: Wed Jun 20 12:20:59 2007
New Revision: 70356
URL: http://svn.digium.com/view/asterisk?view=rev&rev=70356
Log:
Now the arg names should be temp vars
Modified:
team/group/replace_macro_with_gosub_in_dial/pbx/pbx_ael.c
Modified: team/group/replace_macro_with_gosub_in_dial/pbx/pbx_ael.c
URL: http://svn.digium.com/view/asterisk/team/group/replace_macro_with_gosub_in_dial/pbx/pbx_ael.c?view=diff&rev=70356&r1=70355&r2=70356
==============================================================================
--- team/group/replace_macro_with_gosub_in_dial/pbx/pbx_ael.c (original)
+++ team/group/replace_macro_with_gosub_in_dial/pbx/pbx_ael.c Wed Jun 20 12:20:59 2007
@@ -3886,7 +3886,7 @@
struct ael_priority *np2 = new_prio();
np2->type = AEL_APPCALL;
np2->app = strdup("Set");
- snprintf(buf,sizeof(buf),"%s=${ARG%d}", lp->u1.str, argc++);
+ snprintf(buf,sizeof(buf),"LOCAL(%s)=${ARG%d}", lp->u1.str, argc++);
remove_spaces_before_equals(buf);
np2->appargs = strdup(buf);
linkprio(exten, np2);
More information about the asterisk-commits
mailing list