]> Kevux Git Server - fll/commitdiff
Bugfix: The set no EOL is misplaced on "extended" and should be on "basic_list".
authorKevin Day <kevin@kevux.org>
Tue, 30 May 2023 01:06:54 +0000 (20:06 -0500)
committerKevin Day <kevin@kevux.org>
Tue, 30 May 2023 01:06:54 +0000 (20:06 -0500)
The fss_read program is incorrectly settings the no EOL set function for the FSS Extended (0001) standard.
This should actually be on the FSS Basic List (0002) standard.

level_3/fss_read/c/main/main.c

index 2544099dcd078c1fe842dade7526665a4a5d89fd..7e447dd46ff5264f4e1d12f54b7e27e993183257 100644 (file)
@@ -169,7 +169,7 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
 
           main->callback.print_content_next = &fss_read_extended_print_content_next;
           main->callback.print_object_end = &fss_read_extended_print_object_end;
-          main->callback.print_set_end = &fss_read_print_set_end_no_eol;
+          main->callback.print_set_end = &fss_read_print_set_end;
         }
         else if (f_compare_dynamic(argv[index], fss_read_format_code_short_0002_s) == F_equal_to ||
                  f_compare_dynamic(argv[index], fss_read_format_code_long_0002_s) == F_equal_to ||
@@ -191,7 +191,7 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
 
           main->callback.print_content_next = 0;
           main->callback.print_object_end = &fss_read_basic_list_print_object_end;
-          main->callback.print_set_end = &fss_read_print_set_end;
+          main->callback.print_set_end = &fss_read_print_set_end_no_eol;
         }
         else if (f_compare_dynamic(argv[index], fss_read_format_code_short_0003_s) == F_equal_to ||
                  f_compare_dynamic(argv[index], fss_read_format_code_long_0003_s) == F_equal_to ||