2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 12:58:13 +00:00

00_MQTT2_SERVER.pm:fix debugging message (Forum #90145)

git-svn-id: https://svn.fhem.de/fhem/trunk@18529 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-02-08 11:41:47 +00:00
parent c30d786a7c
commit c0a573bcef

View File

@ -261,7 +261,7 @@ MQTT2_SERVER_Read($@)
# Lowlevel debugging
if(AttrVal($sname, "verbose", 1) >= 5) {
my $msg = substr($hash->{BUF}, 0, $tlen);
my $msg = substr($hash->{BUF}, 0, $off+$tlen);
$msg =~ s/([^ -~])/"(".ord($1).")"/ge;
Log3 $sname, 5, "$cpt: $msg";
}