2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

FB_CALLMONITOR: fix error on Perl version 5.14 (Forum: #95595)

git-svn-id: https://svn.fhem.de/fhem/trunk@18194 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2019-01-09 16:32:22 +00:00
parent d17278352b
commit 533eeab247

View File

@ -1852,7 +1852,6 @@ sub FB_CALLMONITOR_getSIDviaTR064($)
}
return undef;
}
#####################################
@ -1887,13 +1886,13 @@ sub FB_CALLMONITOR_downloadImageURLs($$)
}
foreach my $url (keys %{$hash->{helper}{IMAGE_URLS}})
{
{
my ($err, $file, $param) = FB_CALLMONITOR_requestHTTPviaTR064($hash, $url."&".$sid, undef, undef, 0, $testPassword);
if($err)
{
Log3 $name, 3, "FB_CALLMONITOR ($name) - error while requesting image URL $url via TR064: $err";
continue;
next;
}
if($param->{httpheader} =~ /Content-Disposition: attachment; filename="[^"\s]+(\.\w+)"$/m)