NotifyOrderPrefix to simplify the average module

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1168 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-01-05 13:09:07 +00:00
parent 6152eb8833
commit 6aca67586a
5 changed files with 46 additions and 61 deletions

View File

@@ -416,6 +416,7 @@ FW_AnswerCall($)
if($FW_inform) { # Longpoll header
$defs{$FW_cname}{inform} = $FW_room;
$defs{$FW_cname}{NTFY_ORDER} = $FW_cname; # else notifyfn won't be called
my $c = $defs{$FW_cname}{CD};
print $c "HTTP/1.1 200 OK\r\n",
"Content-Type: text/plain; charset=$FW_encoding\r\n\r\n";