two sieve fixes

* one logical error
* removing check for trailing space for OK
This commit is contained in:
Dirk 2025-01-28 22:15:17 +01:00
parent d115b2ebbf
commit b054b5d687

View File

@ -11500,8 +11500,7 @@ starttls_full_read(){
debugme tmln_out "${debugpad} ${one_line} " debugme tmln_out "${debugpad} ${one_line} "
IFS="${oldIFS}" IFS="${oldIFS}"
break break
fi elif [[ ! ${one_line} =~ ${cont_pattern} ]]; then
if [[ ! ${one_line} =~ ${cont_pattern} ]]; then
debugme echo "=== full read syntax error, expected regex pattern ${cont_pattern} (cont) or ${end_pattern} (end) ===" debugme echo "=== full read syntax error, expected regex pattern ${cont_pattern} (cont) or ${end_pattern} (end) ==="
IFS="${oldIFS}" IFS="${oldIFS}"
ret_found=2 ret_found=2