From: Kevin Day Date: Tue, 13 Feb 2024 00:56:47 +0000 (-0600) Subject: Bugfix: Firewall program if condition is setting an error flag rather than checking... X-Git-Tag: 0.6.9~29 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=d768b8265c51e0fa5da621bb9c141a9e07b494c5;p=fll Bugfix: Firewall program if condition is setting an error flag rather than checking the value. --- diff --git a/level_3/firewall/c/private-firewall.c b/level_3/firewall/c/private-firewall.c index 496688f..50f3dbe 100644 --- a/level_3/firewall/c/private-firewall.c +++ b/level_3/firewall/c/private-firewall.c @@ -619,7 +619,7 @@ f_status_t firewall_perform_commands(firewall_data_t * const data, firewall_loca status = fll_fss_basic_read(local_buffer, state, &input, &basic_objects, &basic_contents, 0, &delimits, 0); } - if (F_status_set_error(status)) { + if (F_status_is_error(status)) { status = F_status_set_fine(status); if (status == F_parameter) {