diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-26 01:33:55 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-26 01:33:55 +0000 |
commit | e46c65efba9fbe96be150f6a05f7c3c06b637410 (patch) | |
tree | 247385abb2057702da2a0aa85acd09e6a9d01c8f | |
parent | 9f1e351b8119244526ad0db3f4a1680a2a69c6ee (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: http://svn.digium.com/svn/asterisk/trunk@77218 f38db490-d61c-443f-a65b-d21fe96a405b
-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); |