Merged revisions 257544 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r257544 | tilghman | 2010-04-15 16:23:24 -0500 (Thu, 15 Apr 2010) | 6 lines
  
  Allow application options with arguments to contain parentheses, through a variety of escaping techniques.
  
  Fixes SWP-1194 (ABE-2143).
  
  Review: https://reviewboard.asterisk.org/r/604/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@257560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2010-04-15 21:26:19 +00:00
parent 84d0b95def
commit 8ced3317ed
3 changed files with 137 additions and 40 deletions

View File

@@ -512,8 +512,7 @@ struct ast_app_option {
... do any argument parsing here ...
if (ast_parseoptions(my_app_options, &opts, opt_args, options)) {
ast_module_user_remove(u);
if (ast_app_parse_options(my_app_options, &opts, opt_args, options)) {
return -1;
}
}