]> Kevux Git Server - fll/commitdiff
Update: Use f_string_append_nulless() instead of f_string_append() just in case.
authorKevin Day <kevin@kevux.org>
Fri, 14 Apr 2023 00:49:33 +0000 (19:49 -0500)
committerKevin Day <kevin@kevux.org>
Fri, 14 Apr 2023 00:49:33 +0000 (19:49 -0500)
level_3/fake/c/private-build.c

index 945edfc720f3039669299ea3e46090aaa375f276..ff4a0f383d77778680068c38c300a8dab99113fa 100644 (file)
@@ -501,10 +501,10 @@ const f_string_static_t fake_build_documentation_files_s = macro_f_string_static
             break;
           }
 
-          *status = f_string_append(path_source.string + perserve_offset, path_source.used - perserve_offset, &destination_file);
+          *status = f_string_append_nulless(path_source.string + perserve_offset, path_source.used - perserve_offset, &destination_file);
 
           if (F_status_is_error(*status)) {
-            fll_error_print(data->main->error, F_status_set_fine(*status), "f_string_append", F_true);
+            fll_error_print(data->main->error, F_status_set_fine(*status), "f_string_append_nulless", F_true);
 
             break;
           }