From 8ced3317ed7c9e5e04d58c0ccddb7cd0eea141d8 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 15 Apr 2010 21:26:19 +0000 Subject: 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 --- include/asterisk/app.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/asterisk/app.h b/include/asterisk/app.h index 6a0620c1a..acbab9199 100644 --- a/include/asterisk/app.h +++ b/include/asterisk/app.h @@ -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; } } -- cgit v1.2.3