]> Kevux Git Server - fll/commitdiff
Bugfix: FSS Payload Read is not counting the Content when counting the total.
authorKevin Day <Kevin@kevux.org>
Tue, 6 Aug 2024 02:56:46 +0000 (21:56 -0500)
committerKevin Day <Kevin@kevux.org>
Tue, 6 Aug 2024 02:56:46 +0000 (21:56 -0500)
The fss_payload_read is returning the wrong results.
The "fss_read -A payload" is returning the correct results.
An incorrect flag is being specified.

level_3/fss_read/c/payload/main.c

index 8be350149574b669c5d3ddfac07e55c9a941124a..6146ff4c8d307c239434bbfc9474e32c75c4c633 100644 (file)
@@ -31,7 +31,7 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
   data.callback.process_columns = &fss_read_process_normal_columns;
   data.callback.process_load = &fss_read_payload_process_load;
   data.callback.process_name = &fss_read_process_normal_name;
-  data.callback.process_total = &fss_read_process_normal_total;
+  data.callback.process_total = &fss_read_process_normal_total_multiple;
 
   data.callback.print_at = &fss_read_print_at;
   data.callback.print_content = &fss_read_print_content;