mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
log URL in case of timeout
git-svn-id: https://svn.fhem.de/fhem/trunk@1852 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
32cbc8016a
commit
689c29f684
@ -99,7 +99,7 @@ CustomGetFileFromURL($$@)
|
|||||||
vec($rin, $conn->fileno(), 1) = 1;
|
vec($rin, $conn->fileno(), 1) = 1;
|
||||||
my $nfound = select($rout=$rin, undef, undef, $timeout);
|
my $nfound = select($rout=$rin, undef, undef, $timeout);
|
||||||
if($nfound <= 0) {
|
if($nfound <= 0) {
|
||||||
Log 1, "GetFileFromURL: Select timeout/error: $!";
|
Log 1, "GetFileFromURL $displayurl: Select timeout/error: $!";
|
||||||
undef $conn;
|
undef $conn;
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user