diff options
author | Russell Bryant <russell@russellbryant.com> | 2005-12-04 20:40:46 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2005-12-04 20:40:46 +0000 |
commit | ec05153ac4e80313e89a0326bfefe17a4ae21f9c (patch) | |
tree | 6f52bce69ee88362d0b801e94372ecc39c5091d2 /loader.c | |
parent | b6b32ebd9148b30dd2c3899237a6bb3ca3bd7c1a (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 '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); } } |