mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 11:16:36 +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:
parent
d6e70552ab
commit
b83e90849f
@ -5342,7 +5342,7 @@ addToWritebuffer($$@)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$hash->{WBCallback} = $callback;
|
$hash->{WBCallback} = $callback;
|
||||||
if(!$hash->{$wbName}) {
|
if(!defined($hash->{$wbName})) {
|
||||||
$hash->{$wbName} = $txt;
|
$hash->{$wbName} = $txt;
|
||||||
} elsif($nolimit || length($hash->{$wbName}) < 1024000) {
|
} elsif($nolimit || length($hash->{$wbName}) < 1024000) {
|
||||||
$hash->{$wbName} .= $txt;
|
$hash->{$wbName} .= $txt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user