From 90d837d561539067eed3ffd96545b2b88438e875 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 2 May 2021 18:47:12 -0500 Subject: [PATCH] Regression: FSS Basic Read default should be Content. When redesigning the code structure, I forgot to ensure that Content is the default if neither --object nor --content is specified. --- level_3/fss_basic_read/c/private-fss_basic_read.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/level_3/fss_basic_read/c/private-fss_basic_read.c b/level_3/fss_basic_read/c/private-fss_basic_read.c index 52a0407..cc698f0 100644 --- a/level_3/fss_basic_read/c/private-fss_basic_read.c +++ b/level_3/fss_basic_read/c/private-fss_basic_read.c @@ -533,6 +533,11 @@ extern "C" { data->option |= fss_basic_read_data_option_trim; } + // Default to content if neither Object nor Content is explicitly requested. + if (!(data->option & (fss_basic_read_data_option_content | fss_basic_read_data_option_object))) { + data->option |= fss_basic_read_data_option_content; + } + return F_none; } #endif // _di_fss_basic_read_process_option_ -- 1.8.3.1