From: Kevin Day Date: Thu, 8 Aug 2019 22:39:37 +0000 (-0500) Subject: Cleanup: remove 'DEBUG: ' from debug output X-Git-Tag: 0.4.3~4 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=4a559664afa103715e252275e2389e3b75ffb62a;p=fll Cleanup: remove 'DEBUG: ' from debug output --- diff --git a/level_3/firewall/c/private-firewall.c b/level_3/firewall/c/private-firewall.c index 812789f..d2ca462 100644 --- a/level_3/firewall/c/private-firewall.c +++ b/level_3/firewall/c/private-firewall.c @@ -722,7 +722,7 @@ #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); @@ -792,7 +792,7 @@ #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); @@ -1034,7 +1034,7 @@ #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); @@ -1053,7 +1053,7 @@ #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); @@ -1139,7 +1139,7 @@ #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); @@ -1197,7 +1197,7 @@ #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); @@ -1278,7 +1278,7 @@ #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);