From: Kevin Day Date: Sat, 12 Oct 2024 03:52:17 +0000 (-0500) Subject: Regression: Make sure FSS Payload Read compiles after recent changes. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=3d853dadd5c871c3758c2cac440df56a48e1df87;p=fll Regression: Make sure FSS Payload Read compiles after recent changes. This commit 3b8b0cba03096e764194db8bb889cd94a8d97f5b has a mistake. I ran the `testfile` tests, which does not use the `main` programs for specific types. The `testfile` tests only uses the `fss_read` program. I forgot to check and compile the main programs. Replace the non-existent functions for the Payload main program. --- diff --git a/level_3/fss_read/c/payload/main.c b/level_3/fss_read/c/payload/main.c index 7643d73..e5d06a0 100644 --- a/level_3/fss_read/c/payload/main.c +++ b/level_3/fss_read/c/payload/main.c @@ -40,10 +40,10 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) { data.callback.print_content_empty = &fss_read_print_content_empty; data.callback.print_content_ignore = &fss_read_print_content_ignore; data.callback.print_content_next = 0; - data.callback.print_object = &fss_read_payload_print_object; + data.callback.print_object = &fss_read_print_object; data.callback.print_object_end = &fss_read_payload_print_object_end; - data.callback.print_object_end_content = &fss_read_payload_print_object_end_content; - data.callback.print_object_end_empty = &fss_read_payload_print_object_end_empty; + data.callback.print_object_end_content = &fss_read_print_object_end_content; + data.callback.print_object_end_empty = &fss_read_print_object_end_empty; data.callback.print_set_end = &fss_read_print_set_end_no_eol; f_console_parameter_t parameters[] = fss_read_console_parameter_t_initialize;