mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
01_FHEMWEB.pm: slight fix to websocket cmd return semantic
git-svn-id: https://svn.fhem.de/fhem/trunk@19878 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
438e83299e
commit
c41df7a93c
@ -409,7 +409,8 @@ FW_Read($$)
|
||||
}
|
||||
$hash->{BUF} = "";
|
||||
my $ret = FW_fC($data);
|
||||
FW_addToWritebuffer($hash, FW_longpollInfo("JSON", $ret)."\n") if($ret);
|
||||
FW_addToWritebuffer($hash,
|
||||
FW_longpollInfo("JSON", defined($ret) ? $ret : "")."\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user