mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 15:29:05 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user