diff options
author | Steve Murphy <murf@digium.com> | 2007-07-26 01:33:55 +0000 |
---|---|---|
committer | Steve Murphy <murf@digium.com> | 2007-07-26 01:33:55 +0000 |
commit | f7213d2411b884f024672a81b53357e3505ffa8a (patch) | |
tree | 247385abb2057702da2a0aa85acd09e6a9d01c8f | |
parent | 0f326a83c5c3991ed8c0ed26be464b04a60a6c3a (diff) |
The upgrade of application argument separators to comma has an effect on AEL; I commented out the code that substitutes commas with vertbars, so we can get apps to parse their args correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | pbx/pbx_ael.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c index 6426636b3..2693e478e 100644 --- a/pbx/pbx_ael.c +++ b/pbx/pbx_ael.c @@ -149,8 +149,8 @@ static void fix_gotos_in_extensions(struct ael_extension *exten); static pval *get_extension_or_contxt(pval *p); static pval *get_contxt(pval *p); static void remove_spaces_before_equals(char *str); -static void substitute_commas(char *str); - +/* static void substitute_commas(char *str); */ +#ifdef NOMORE /*! \brief I am adding this code to substitute commas with vertbars in the args to apps */ static void substitute_commas(char *str) { @@ -171,7 +171,7 @@ static void substitute_commas(char *str) p++; } } - +#endif /* PRETTY PRINTER FOR AEL: ============================================================================= */ @@ -3474,7 +3474,7 @@ static void gen_prios(struct ael_extension *exten, char *label, pval *statement, first = 0; } else - strcat(buf1,"|"); + strcat(buf1,","); strcat(buf1,p2->u1.str); } if (!first) @@ -3492,8 +3492,8 @@ static void gen_prios(struct ael_extension *exten, char *label, pval *statement, buf1[0] = 0; for (p2 = p->u2.arglist; p2; p2 = p2->next) { if (p2 != p->u2.arglist ) - strcat(buf1,"|"); - substitute_commas(p2->u1.str); + strcat(buf1,","); + /*substitute_commas(p2->u1.str); */ strcat(buf1,p2->u1.str); } pr->app = strdup(p->u1.str); |