2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 05:06:35 +00:00

fhem.pl: fix rare addToWriteBuffer bug

git-svn-id: https://svn.fhem.de/fhem/trunk@22281 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-06-27 09:52:31 +00:00
parent d6e70552ab
commit b83e90849f

View File

@ -5342,7 +5342,7 @@ addToWritebuffer($$@)
}
$hash->{WBCallback} = $callback;
if(!$hash->{$wbName}) {
if(!defined($hash->{$wbName})) {
$hash->{$wbName} = $txt;
} elsif($nolimit || length($hash->{$wbName}) < 1024000) {
$hash->{$wbName} .= $txt;