better use safe_echo()

This commit is contained in:
Dirk Wetter 2022-12-26 16:14:26 +01:00
parent b633efae69
commit 336d3c947a
1 changed files with 2 additions and 2 deletions

View File

@ -11456,12 +11456,12 @@ starttls_ldap_dialog() {
if [[ $DEBUG -ge 2 ]]; then
msg_lenstr=$(hex2dec ${result:26:02})
msg_len=$((2 * msg_lenstr))
echo "$debugpad $(hex2binary "${result:28:$msg_len}")"
safe_echo "$debugpad $(hex2binary "${result:28:$msg_len}")"
fi ;;
*)
ret=127
if [[ $DEBUG -ge 2 ]]; then
echo "$debugpad $(hex2dec "${result:28:2}")"
safe_echo "$debugpad $(hex2dec "${result:28:2}")"
fi ;;
esac
debugme echo "=== finished LDAP STARTTLS dialog with ${ret} ==="