From: Kevin Day Date: Mon, 3 May 2021 02:51:54 +0000 (-0500) Subject: Regression: FSS Basic read --select is always returning empty sting or 0. X-Git-Tag: 0.5.4~59 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=ceb5caa40c2f58d69c65646f5ed57e8c3672060b;p=fll Regression: FSS Basic read --select is always returning empty sting or 0. After changing the code structure, the check to see if the select number is non-zero was lost. As a result the code is always operating as if the select number is non-zero. When the select number is zero, all existing operations should continue. --- 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 cc698f0..951605a 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 @@ -303,7 +303,7 @@ extern "C" { if (F_status_is_error(status)) return status; // This standard does not support multiple content groups. - if (data->option & fss_basic_read_data_option_select) { + if ((data->option & fss_basic_read_data_option_select) && data->select) { if (main->parameters[fss_basic_read_parameter_total].result == f_console_result_found) { fss_basic_read_print_zero(main); }