mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 19:32:42 +00:00
Part of the double-HTTP-header fix by Matthias
git-svn-id: https://svn.fhem.de/fhem/trunk@2155 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
af7b60ee77
commit
cf13eb1024
@ -479,9 +479,10 @@ FW_answerCall($)
|
||||
foreach my $k (sort keys %{$data{FWEXT}}) {
|
||||
if($arg =~ m/^$k/) {
|
||||
no strict "refs";
|
||||
#Returns undef if it already sent a HTTP header
|
||||
($FW_RETTYPE, $FW_RET) = &{$data{FWEXT}{$k}{FUNC}}($arg);
|
||||
use strict "refs";
|
||||
return 0;
|
||||
return defined($FW_RETTYPE) ? 0 : -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user