mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
2005-11-10 Russell Bryant <russell@digium.com>
|
2005-11-10 Russell Bryant <russell@digium.com>
|
||||||
|
|
||||||
|
* app.c (ast_app_separate_args): Don't consider the open parenthesis as part of the arguments to an option.
|
||||||
* many files: Change all references to ast_separate_app_args to ast_app_separate_args
|
* many files: Change all references to ast_separate_app_args to ast_app_separate_args
|
||||||
* many files in apps/: Clean up some application descriptions. Make sure all descriptions in changed files are wrapped at 80 characters.
|
* many files in apps/: Clean up some application descriptions. Make sure all descriptions in changed files are wrapped at 80 characters.
|
||||||
|
|
||||||
|
2
app.c
2
app.c
@@ -1543,7 +1543,7 @@ int ast_app_parse_options(const struct ast_app_option *options, struct ast_flags
|
|||||||
argloc = options[curarg].arg_index;
|
argloc = options[curarg].arg_index;
|
||||||
if (*s == '(') {
|
if (*s == '(') {
|
||||||
/* Has argument */
|
/* Has argument */
|
||||||
arg = s;
|
arg = ++s;
|
||||||
while (*++s && (*s != ')'));
|
while (*++s && (*s != ')'));
|
||||||
if (*s) {
|
if (*s) {
|
||||||
if (argloc)
|
if (argloc)
|
||||||
|
Reference in New Issue
Block a user