From 2d9b75d2577240d3c90f8773fb297973ed07c199 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 26 Apr 2021 19:03:02 -0500 Subject: [PATCH] Regression: validation is printing "synchronous" when it should print "asynchronous". --- level_3/controller/c/private-controller.c | 3 ++- level_3/controller/c/private-rule.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/level_3/controller/c/private-controller.c b/level_3/controller/c/private-controller.c index 8adc276..0121219 100644 --- a/level_3/controller/c/private-controller.c +++ b/level_3/controller/c/private-controller.c @@ -1175,8 +1175,9 @@ extern "C" { if (entry_action->code & controller_entry_rule_code_asynchronous) { if (main->data->parameters[controller_parameter_validate].result != f_console_result_found) { options_force |= controller_process_option_asynchronous; - options_process |= controller_process_option_asynchronous; } + + options_process |= controller_process_option_asynchronous; } status = controller_rule_process_begin(options_force, alias_rule, controller_entry_action_type_to_rule_action_type(entry_action->type), options_process, is_entry ? controller_process_type_entry : controller_process_type_exit, stack, *main, *cache); diff --git a/level_3/controller/c/private-rule.c b/level_3/controller/c/private-rule.c index c64fd1f..aca7756 100644 --- a/level_3/controller/c/private-rule.c +++ b/level_3/controller/c/private-rule.c @@ -5125,7 +5125,7 @@ extern "C" { fprintf(data->output.stream, "%c", f_string_eol_s[0]); fprintf(data->output.stream, "Rule %s%s%s {%c", data->context.set.title.before->string, rule.alias.used ? rule.alias.string : f_string_empty_s, data->context.set.title.after->string, f_string_eol_s[0]); fprintf(data->output.stream, " %s%s%s %s%c", data->context.set.important.before->string, controller_string_name_s, data->context.set.important.after->string, rule.name.used ? rule.name.string : f_string_empty_s, f_string_eol_s[0]); - fprintf(data->output.stream, " %s%s%s %s%c", data->context.set.important.before->string, controller_string_how_s, data->context.set.important.after->string, options & controller_process_option_asynchronous ? controller_string_asynchronous : controller_string_synchronous_s, f_string_eol_s[0]); + fprintf(data->output.stream, " %s%s%s %s%c", data->context.set.important.before->string, controller_string_how_s, data->context.set.important.after->string, options & controller_process_option_asynchronous ? controller_string_asynchronous_s : controller_string_synchronous_s, f_string_eol_s[0]); fprintf(data->output.stream, " %s%s%s %s%c", data->context.set.important.before->string, controller_string_wait_s, data->context.set.important.after->string, options & controller_process_option_wait ? controller_string_yes : controller_string_no_s, f_string_eol_s[0]); if (f_capability_supported()) { -- 1.8.3.1