diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-04 20:40:46 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-04 20:40:46 +0000 |
commit | cfb1ef47122283b97ab2e05437c47b6e60f7c54f (patch) | |
tree | 6f52bce69ee88362d0b801e94372ecc39c5091d2 /loader.c | |
parent | dc76ba74df2442efe2e986ee50e13247a263ed81 (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: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'loader.c')
-rw-r--r-- | loader.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -383,10 +383,10 @@ static int __load_resource(const char *resource_name, const struct ast_config *c ast_mutex_unlock(&modlock); return -1; } - if (!fully_booted) { + if (!ast_fully_booted) { if (option_verbose) ast_verbose( " => (%s)\n", term_color(tmp, m->description(), COLOR_BROWN, COLOR_BLACK, sizeof(tmp))); - if (option_console && !option_verbose) + if (ast_opt_console && !option_verbose) ast_verbose( "."); } else { if (option_verbose) @@ -560,7 +560,7 @@ int load_modules(const int preload_only) } closedir(mods); } else { - if (!option_quiet) + if (!ast_opt_quiet) ast_log(LOG_WARNING, "Unable to open modules directory %s.\n", (char *)ast_config_AST_MODULE_DIR); } } |