aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-04-15 21:26:19 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-04-15 21:26:19 +0000
commit72dd98e470dc6ce1e17937e41bc6302a525efe56 (patch)
treed8ca3ee153a9dc08b46acf44e5801bd00a150b36 /include
parent1c92e736a5443d510518c6c9e56d7739ea05484a (diff)
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: http://svn.digium.com/svn/asterisk/trunk@257560 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/app.h3
1 files changed, 1 insertions, 2 deletions
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;
}
}