mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
convert most of the option_*'s to a single ast_flags structure. Also, fix some
formatting, remove some unnecessary casts, and other little code cleanups. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
config.c
2
config.c
@@ -450,7 +450,7 @@ static int process_text_line(struct ast_config *cfg, struct ast_category **cat,
|
||||
do_exec = !strcasecmp(cur, "exec");
|
||||
else
|
||||
do_exec = 0;
|
||||
if (do_exec && !option_exec_includes) {
|
||||
if (do_exec && !ast_opt_exec_includes) {
|
||||
ast_log(LOG_WARNING, "Cannot perform #exec unless execincludes option is enabled in asterisk.conf (options section)!\n");
|
||||
do_exec = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user