]> 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:27:50 +0000 (22:27 -0500)
level_3/firewall/c/private-firewall.c

index 09d73922551cd103f26751a496b8d6025c9b3110..aba5dbe7f71f9bdb4fa0c8a86bad2cd6c898bfd2 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);