From: Kevin Day Date: Sun, 2 May 2021 23:47:12 +0000 (-0500) Subject: Regression: FSS Basic Read default should be Content. X-Git-Tag: 0.5.4~66 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=90d837d561539067eed3ffd96545b2b88438e875;p=fll 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. --- 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_