From cfb1ef47122283b97ab2e05437c47b6e60f7c54f Mon Sep 17 00:00:00 2001 From: russell Date: Sun, 4 Dec 2005 20:40:46 +0000 Subject: 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 --- loader.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'loader.c') diff --git a/loader.c b/loader.c index aa2a28297..46fad50b3 100644 --- a/loader.c +++ b/loader.c @@ -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); } } -- cgit v1.2.3