diff --git a/fhem/FHEM/HttpUtils.pm b/fhem/FHEM/HttpUtils.pm index 6a680a449..acf58b75e 100644 --- a/fhem/FHEM/HttpUtils.pm +++ b/fhem/FHEM/HttpUtils.pm @@ -354,7 +354,7 @@ HttpUtils_NonblockingGet($) { my ($hash) = @_; my ($isFile, $fErr, $fContent) = HttpUtils_File($hash); - return ($fErr, $fContent) if($isFile); + return $hash->{callback}($hash, $fErr, $fContent) if($isFile); my $err = HttpUtils_Connect($hash); $hash->{callback}($hash, $err, "") if($err); }