mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +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:
parent
c30d786a7c
commit
c0a573bcef
@ -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";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user