From 75fb16e617ad6aee1009ebb0faa7df1aedf86d4f Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 18 Apr 2021 00:22:12 -0500 Subject: [PATCH] Update: display when done processing entry when verbosity is set to verbose. --- level_3/controller/c/private-controller.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/level_3/controller/c/private-controller.c b/level_3/controller/c/private-controller.c index c365663..f9141b8 100644 --- a/level_3/controller/c/private-controller.c +++ b/level_3/controller/c/private-controller.c @@ -1377,17 +1377,15 @@ extern "C" { } } - if (simulate) { - if (main->data->error.verbosity != f_console_verbosity_quiet) { - f_thread_mutex_lock(&main->thread->lock.print); + if ((simulate && main->data->error.verbosity != f_console_verbosity_quiet) || main->data->error.verbosity == f_console_verbosity_verbose) { + f_thread_mutex_lock(&main->thread->lock.print); - fprintf(main->data->output.stream, "%c", f_string_eol_s[0]); - fprintf(main->data->output.stream, "Done processing entry item '"); - fprintf(main->data->output.stream, "%s%s%s", main->data->context.set.title.before->string, controller_string_main_s, main->data->context.set.title.after->string); - fprintf(main->data->output.stream, "'.%c%c", f_string_eol_s[0], f_string_eol_s[0]); + fprintf(main->data->output.stream, "%c", f_string_eol_s[0]); + fprintf(main->data->output.stream, "Done processing entry item '"); + fprintf(main->data->output.stream, "%s%s%s", main->data->context.set.title.before->string, controller_string_main_s, main->data->context.set.title.after->string); + fprintf(main->data->output.stream, "'.%c%c", f_string_eol_s[0], f_string_eol_s[0]); - controller_print_unlock_flush(main->data->output.stream, &main->thread->lock.print); - } + controller_print_unlock_flush(main->data->output.stream, &main->thread->lock.print); } return status; -- 1.8.3.1