From e1135b485511fd3a8e8e12f2433990c125da9487 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 29 May 2023 20:06:54 -0500 Subject: [PATCH] Bugfix: The set no EOL is misplaced on "extended" and should be on "basic_list". 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/level_3/fss_read/c/main/main.c b/level_3/fss_read/c/main/main.c index 2544099..7e447dd 100644 --- a/level_3/fss_read/c/main/main.c +++ b/level_3/fss_read/c/main/main.c @@ -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 || -- 1.8.3.1