diff options
Diffstat (limited to 'include/asterisk/app.h')
-rw-r--r-- | include/asterisk/app.h | 3 |
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; } } |