]> Kevux Git Server - fll/commitdiff
Regression: validation is printing "synchronous" when it should print "asynchronous".
authorKevin Day <thekevinday@gmail.com>
Tue, 27 Apr 2021 00:03:02 +0000 (19:03 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 27 Apr 2021 00:03:02 +0000 (19:03 -0500)
level_3/controller/c/private-controller.c
level_3/controller/c/private-rule.c

index 8adc276220db31332dd96c2ee6a074e078a95dcf..01212195503ff84d96d3af8321762d5695e862a0 100644 (file)
@@ -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);
index c64fd1fa624b45df82f9141d41344d97b833deaf..aca775639419651e3febf041bfcc4ee27d3de5c4 100644 (file)
@@ -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()) {