]> Kevux Git Server - kevux-tools/commitdiff
Update: The string map to use "key" rather than "name".
authorKevin Day <kevin@kevux.org>
Wed, 28 Feb 2024 02:36:32 +0000 (20:36 -0600)
committerKevin Day <kevin@kevux.org>
Wed, 28 Feb 2024 02:36:32 +0000 (20:36 -0600)
This changes the code to be in line with the latest refactoring in the FLL project 0.7.x.

sources/c/tacocat/main/send.c

index 5c03e8c4b6c0a695aa2a93c833941b3a222aa6db..03d02d2648c0e014d5c0412e5c25b815167e52a2 100644 (file)
@@ -235,7 +235,7 @@ extern "C" {
       if (F_status_is_error_not(set->status)) {
         for (f_number_unsigned_t i = 0; i < set->headers.used; ++i) {
 
-          set->status = f_string_dynamic_append_nulless(set->headers.array[i].name, &set->buffer);
+          set->status = f_string_dynamic_append_nulless(set->headers.array[i].key, &set->buffer);
 
           if (F_status_is_error_not(set->status)) {
             set->status = f_string_dynamic_append_nulless(f_fss_extended_open_s, &set->buffer);