]> Kevux Git Server - fll/commitdiff
Regression: Make sure FSS Payload Read compiles after recent changes.
authorKevin Day <Kevin@kevux.org>
Sat, 12 Oct 2024 03:52:17 +0000 (22:52 -0500)
committerKevin Day <Kevin@kevux.org>
Sat, 12 Oct 2024 03:52:17 +0000 (22:52 -0500)
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.

level_3/fss_read/c/payload/main.c

index 7643d739336b98645c5bc799a433357e974ab5fb..e5d06a0a989eff4d789e0094736c97f170676ba8 100644 (file)
@@ -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;