From: Kevin Day Date: Thu, 7 Sep 2023 02:27:25 +0000 (-0500) Subject: Cleanup: Add comment in fll_execute_arguments_add_parameter_set() help to prevent... X-Git-Tag: 0.6.7~1 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=9a21ab880a6442f3fcec82f2ca45a035a452fb1e;p=fll Cleanup: Add comment in fll_execute_arguments_add_parameter_set() help to prevent possible misunderstandings in the future. This is a back port of this comment from the 0.7 branch. --- diff --git a/level_2/fll_execute/c/execute.c b/level_2/fll_execute/c/execute.c index 5511501..4c0c6c2 100644 --- a/level_2/fll_execute/c/execute.c +++ b/level_2/fll_execute/c/execute.c @@ -43,6 +43,7 @@ extern "C" { if (!arguments) return F_status_set_error(F_parameter); #endif // _di_level_2_parameter_checking_ + // Allocate "size * 2" to ensure space for both the name and value are available. f_status_t status = f_string_dynamics_increase_by(size * 2, arguments); for (f_array_length_t i = 0; i < size; ++i) {