summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-12-04 20:40:46 +0000
committerRussell Bryant <russell@russellbryant.com>2005-12-04 20:40:46 +0000
commitec05153ac4e80313e89a0326bfefe17a4ae21f9c (patch)
tree6f52bce69ee88362d0b801e94372ecc39c5091d2 /config.c
parentb6b32ebd9148b30dd2c3899237a6bb3ca3bd7c1a (diff)
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
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 16c154742..447db6731 100644
--- a/config.c
+++ b/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;
}