]> Kevux Git Server - fll/commitdiff
Bugfix: add missing closing parenthesis
authorKevin Day <thekevinday@gmail.com>
Fri, 19 Jul 2019 03:27:50 +0000 (22:27 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 19 Jul 2019 03:28:03 +0000 (22:28 -0500)
level_3/firewall/c/private-firewall.c

index 67b05c9d492df82aa1c4b77238be12d73cd2a7fb..d8ec33154cd78e9d2af058095a6d3a13eabd4a31 100644 (file)
         length = local->chain_objects.array[i].stop - local->chain_objects.array[i].start + 1;
 
         if (data->chains.used >= data->chains.size) {
-          f_resize_dynamic_strings(status, data->chains, (local->chain_objects.array[i].stop - local->chain_objects.array[i].start + firewall_default_allocation_step);
+          f_resize_dynamic_strings(status, data->chains, (local->chain_objects.array[i].stop - local->chain_objects.array[i].start) + firewall_default_allocation_step);
 
           if (f_error_is_error(status)) {
             f_delete_dynamic_strings(status2, arguments);