mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-06 13:07:21 +00:00
fix application options that take arguments
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -323,7 +323,7 @@ struct ast_app_option {
|
||||
\sa AST_APP_OPTIONS, ast_app_parse_options
|
||||
*/
|
||||
#define AST_APP_OPTION_ARG(option, flagno, argno) \
|
||||
[option] = { .flag = flagno, .arg_index = argno }
|
||||
[option] = { .flag = flagno, .arg_index = argno + 1 }
|
||||
|
||||
/*!
|
||||
\brief Parses a string containing application options and sets flags/arguments.
|
||||
|
Reference in New Issue
Block a user