diff options
author | Matthew Jordan <mjordan@digium.com> | 2013-04-01 14:44:30 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2013-04-01 14:44:30 +0000 |
commit | 8c5367226baa1e24f4440da6aed1ce84b65a58ac (patch) | |
tree | eb977705c98d3667b5108ee8f0e07ff0e2b0bbf3 /main/xmldoc.c | |
parent | 3f2ff8594b1f48f7262172b4894e7c08fcec0061 (diff) |
Make appropriate items parse using '|' instead of ','
This patch fixes a bug introduced in r76703, wherein Asterisk could only parse
arguments in the so-called 'recommended' way, e.g., NoOp(foo,bar). The proper
syntax of NoOp,foo|bar is now parsed correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/xmldoc.c')
-rw-r--r-- | main/xmldoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/xmldoc.c b/main/xmldoc.c index 2dd343263..2ede8240e 100644 --- a/main/xmldoc.c +++ b/main/xmldoc.c @@ -709,13 +709,13 @@ static char *xmldoc_get_syntax_fun(struct ast_xml_node *rootnode, const char *ro } /* Get the argument separator from the root node attribute name 'argsep', if not found - defaults to ','. */ + defaults to '|'. */ attrargsep = ast_xml_get_attribute(rootnode, "argsep"); if (attrargsep) { argsep = ast_strdupa(attrargsep); ast_xml_free_attr(attrargsep); } else { - argsep = ast_strdupa(","); + argsep = ast_strdupa("|"); } /* Get order of evaluation. */ |