]> Kevux Git Server - controller/commitdiff
Bugfix: Add missing return statements. 0.7.4
authorKevin Day <Kevin@kevux.org>
Tue, 23 Dec 2025 18:51:14 +0000 (12:51 -0600)
committerKevin Day <Kevin@kevux.org>
Tue, 23 Dec 2025 18:51:14 +0000 (12:51 -0600)
sources/c/program/controller/main/print/debug/perform/control.c
sources/c/program/controller/main/print/debug/perform/pid.c
sources/c/program/controller/main/print/error/perform/pid.c
sources/c/program/controller/main/print/error/rule/item.c

index 4643aab3084d0328654602d992498a29aee8c72e..b2aec863b6a65be3b6e3de022d9b60dd81716255 100644 (file)
@@ -21,6 +21,8 @@ extern "C" {
     fl_print_format(f_string_format_sentence_end_single_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_unlock_print_flush(print->to, &main->thread);
+
+    return F_okay;
   }
 #endif // _di_controller_print_debug_perform_control_socket_failure_
 
@@ -39,6 +41,8 @@ extern "C" {
     fl_print_format("' created.%r", print->to, f_string_eol_s);
 
     controller_unlock_print_flush(print->to, &main->thread);
+
+    return F_okay;
   }
 #endif // _di_controller_print_debug_perform_control_socket_success_
 
index eaa63635ebf44edede1cf53f0bfd6b7a97e93ea6..b50bba8984d0f5666d0724fe4f90e64e60443a15 100644 (file)
@@ -51,6 +51,8 @@ extern "C" {
     controller_print_error_entry_cache(print, &main->thread.cache.action, is_entry, 0);
 
     controller_unlock_print_flush(print->to, &main->thread);
+
+    return F_okay;
   }
 #endif // _di_controller_print_debug_perform_pid_file_create_problem_
 
@@ -68,6 +70,8 @@ extern "C" {
     fl_print_format("%[%Q%]' created.%r", print->to, print->notable, main->process.path_pid, print->notable, f_string_eol_s);
 
     controller_unlock_print_flush(print->to, &main->thread);
+
+    return F_okay;
   }
 #endif // _di_controller_print_debug_perform_pid_file_create_success_
 
index 7349c4c51cae2b23dd1140ee6b3596d1e48db03e..e56253e4a046f28b483f87f0d9ad35f263b4aceb 100644 (file)
@@ -21,6 +21,8 @@ extern "C" {
     controller_print_error_entry_cache(print, &main->thread.cache.action, is_entry, debug);
 
     controller_unlock_print_flush(print->to, &main->thread);
+
+    return F_okay;
   }
 #endif // _di_controller_print_error_perform_pid_file_create_
 
index 706ca95e6945ac0403f9616579d67e3ff502ee41..d9ebb2eedd2475ba2013e9fe434d4e90ba53e851 100644 (file)
@@ -297,6 +297,8 @@ extern "C" {
     fl_print_format("Items to execute.%]%r", print->to, print->context, f_string_eol_s);
 
     controller_unlock_print_flush(print->to, &main->thread);
+
+    return F_okay;
   }
 #endif // _di_controller_print_error_rule_item_execute_none_