HttpUtils.pm: Fix BlockingCall with callback (c)26_tahoma.pm (Forum #80712)

git-svn-id: https://svn.fhem.de/fhem/trunk@15569 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2017-12-08 21:37:14 +00:00
parent a03e933d49
commit 4d98252742

View File

@@ -853,6 +853,7 @@ sub
HttpUtils_BlockingGet($)
{
my ($hash) = @_;
delete $hash->{callback}; # Forum #80712
$hash->{hu_blocking} = 1;
my ($isFile, $fErr, $fContent) = HttpUtils_File($hash);
return ($fErr, $fContent) if($isFile);