diff options
Diffstat (limited to 'include/asterisk/app.h')
-rwxr-xr-x | include/asterisk/app.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h index 3c9c49e48..ef74f6543 100755 --- a/include/asterisk/app.h +++ b/include/asterisk/app.h @@ -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. |