diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2011-11-30 23:38:34 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2011-11-30 23:38:34 +0000 |
commit | 56b21b46834f42b6d1dd4c1d1dd0c4aa883d56aa (patch) | |
tree | 1b920bae618544ac76057823bef4c928ba4f7f6b /main/loader.c | |
parent | 3106f64eac5322efdd9f81594d788de4631b938a (diff) |
Remove the few places where we try to ast_verbose() without a newline.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@346655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/loader.c')
-rw-r--r-- | main/loader.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/loader.c b/main/loader.c index 6cd5ffbdb..f9b2de943 100644 --- a/main/loader.c +++ b/main/loader.c @@ -797,8 +797,11 @@ static enum ast_module_load_result start_resource(struct ast_module *mod) case AST_MODULE_LOAD_SUCCESS: if (!ast_fully_booted) { ast_verb(1, "%s => (%s)\n", mod->resource, term_color(tmp, mod->info->description, COLOR_BROWN, COLOR_BLACK, sizeof(tmp))); - if (ast_opt_console && !option_verbose) - ast_verbose( "."); + if (ast_opt_console && !option_verbose) { + /* This never looks good on anything but the root console, so + * it's best not to try to funnel it through the logger. */ + fprintf(stdout, "."); + } } else { ast_verb(1, "Loaded %s => (%s)\n", mod->resource, mod->info->description); } |