mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +00:00
01_FHEMWEB.pm: fix indefined FW_id (Forum #44357)
git-svn-id: https://svn.fhem.de/fhem/trunk@9943 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
67b3acb6de
commit
9437091568
@ -677,9 +677,12 @@ FW_answerCall($)
|
||||
"Content-Type: application/octet-stream; charset=$FW_encoding\r\n\r\n".
|
||||
FW_roomStatesForInform($me, $sinceTimestamp));
|
||||
|
||||
if( my $data = $defs{$FW_wname}{asyncOutput}{$FW_id} ) {
|
||||
addToWritebuffer($me, $data."\n");
|
||||
delete $defs{$FW_wname}{asyncOutput}{$FW_id};
|
||||
if($FW_id && $defs{$FW_wname}{asyncOutput}) {
|
||||
my $data = $defs{$FW_wname}{asyncOutput}{$FW_id};
|
||||
if($data) {
|
||||
addToWritebuffer($me, $data."\n");
|
||||
delete $defs{$FW_wname}{asyncOutput}{$FW_id};
|
||||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user