]> Kevux Git Server - fll/commitdiff
Update: Use f_string_dynamic_append_nulless() instead of f_string_dynamic_append().
authorKevin Day <kevin@kevux.org>
Fri, 17 Feb 2023 06:25:14 +0000 (00:25 -0600)
committerKevin Day <kevin@kevux.org>
Fri, 17 Feb 2023 06:25:14 +0000 (00:25 -0600)
Switch to the nulless version to favor sanity over performance.

level_3/fake/c/private-build-load.c

index 838be81e6875575a1d1520880a6d187bb3f23d0f..410a551a669229443610683e403fb932bab5dbe2 100644 (file)
@@ -625,18 +625,18 @@ extern "C" {
             break;
           }
 
-          *status = f_string_dynamic_append(settings_name[j], &settings_mode_names[j]);
+          *status = f_string_dynamic_append_nulless(settings_name[j], &settings_mode_names[j]);
 
           if (F_status_is_error_not(*status)) {
-            *status = f_string_dynamic_append(f_string_ascii_minus_s, &settings_mode_names[j]);
+            *status = f_string_dynamic_append_nulless(f_string_ascii_minus_s, &settings_mode_names[j]);
           }
 
           if (F_status_is_error_not(*status)) {
-            *status = f_string_dynamic_append(modes->array[i], &settings_mode_names[j]);
+            *status = f_string_dynamic_append_nulless(modes->array[i], &settings_mode_names[j]);
           }
 
           if (F_status_is_error(*status)) {
-            function = "f_string_dynamic_append";
+            function = "f_string_dynamic_append_nulless";
 
             break;
           }