From: Kevin Day Date: Tue, 30 May 2023 01:06:54 +0000 (-0500) Subject: Bugfix: The set no EOL is misplaced on "extended" and should be on "basic_list". X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=e1135b485511fd3a8e8e12f2433990c125da9487;p=fll 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. --- 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 ||