]> Kevux Git Server - fll/commitdiff
Cleanup: remove 'DEBUG: ' from debug output
authorKevin Day <thekevinday@gmail.com>
Thu, 8 Aug 2019 22:39:37 +0000 (17:39 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 8 Aug 2019 22:39:37 +0000 (17:39 -0500)
level_3/firewall/c/private-firewall.c

index 812789f7cd156880fc60eba83fe89d90cd1e7ac8..d2ca4624a6e6c2af1cae2b1b1ab8d0d8b9715cb6 100644 (file)
                       #ifdef _en_firewall_debug_
                         if (data.parameters[firewall_parameter_debug].result == f_console_result_found) {
                           fl_print_color_code(f_standard_debug, data.context.warning);
-                          fprintf(f_standard_debug, "DEBUG: %s ", current_tool);
+                          fprintf(f_standard_debug, "%s ", current_tool);
 
                           for (f_string_length i = 0; i < arguments.used; i++) {
                             fprintf(f_standard_debug, "%.*s ", arguments.array[i].used, arguments.array[i].string);
             #ifdef _en_firewall_debug_
               if (data.parameters[firewall_parameter_debug].result == f_console_result_found) {
                 fl_print_color_code(f_standard_debug, data.context.warning);
-                fprintf(f_standard_debug, "DEBUG: %s ", current_tool);
+                fprintf(f_standard_debug, "%s ", current_tool);
 
                 for (f_string_length i = 0; i < arguments.used; i++) {
                   fprintf(f_standard_debug, "%.*s ", arguments.array[i].used, arguments.array[i].string);
           #ifdef _en_firewall_debug_
             if (data->parameters[firewall_parameter_debug].result == f_console_result_found) {
               fl_print_color_code(f_standard_debug, data->context.warning);
-              fprintf(f_standard_debug, "DEBUG: %s ", firewall_tool_iptables);
+              fprintf(f_standard_debug, "%s ", firewall_tool_iptables);
 
               for (f_string_length i = 0; i < arguments.used; i++) {
                 fprintf(f_standard_debug, "%.*s ", arguments.array[i].used, arguments.array[i].string);
             #ifdef _en_firewall_debug_
               if (data->parameters[firewall_parameter_debug].result == f_console_result_found) {
                 fl_print_color_code(f_standard_debug, data->context.warning);
-                fprintf(f_standard_debug, "DEBUG: %s ", firewall_tool_ip6tables);
+                fprintf(f_standard_debug, "%s ", firewall_tool_ip6tables);
 
                 for (f_string_length i = 0; i < arguments.used; i++) {
                   fprintf(f_standard_debug, "%.*s ", arguments.array[i].used, arguments.array[i].string);
       #ifdef _en_firewall_debug_
         if (data.parameters[firewall_parameter_debug].result == f_console_result_found) {
           fl_print_color_code(f_standard_debug, data.context.warning);
-          fprintf(f_standard_debug, "DEBUG: %s ", tools[i]);
+          fprintf(f_standard_debug, "%s ", tools[i]);
 
           for (f_string_length i = 0; i < arguments.used; i++) {
             fprintf(f_standard_debug, "%.*s ", arguments.array[i].used, arguments.array[i].string);
       #ifdef _en_firewall_debug_
         if (data.parameters[firewall_parameter_debug].result == f_console_result_found) {
           fl_print_color_code(f_standard_debug, data.context.warning);
-          fprintf(f_standard_debug, "DEBUG: %s ", tools[i]);
+          fprintf(f_standard_debug, "%s ", tools[i]);
 
           for (f_string_length j = 0; j < arguments.used; j++) {
             fprintf(f_standard_debug, "%.*s ", arguments.array[j].used, arguments.array[j].string);
         #ifdef _en_firewall_debug_
           if (data.parameters[firewall_parameter_debug].result == f_console_result_found) {
             fl_print_color_code(f_standard_debug, data.context.warning);
-            fprintf(f_standard_debug, "DEBUG: %s ", tools[j]);
+            fprintf(f_standard_debug, "%s ", tools[j]);
 
             for (f_string_length k = 0; k < arguments.used; k++) {
               fprintf(f_standard_debug, "%.*s ", arguments.array[k].used, arguments.array[k].string);