log URL in case of timeout

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1852 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert
2012-09-16 16:29:07 +00:00
parent 50fde7adfd
commit f72a0fa052

View File

@@ -99,7 +99,7 @@ CustomGetFileFromURL($$@)
vec($rin, $conn->fileno(), 1) = 1;
my $nfound = select($rout=$rin, undef, undef, $timeout);
if($nfound <= 0) {
Log 1, "GetFileFromURL: Select timeout/error: $!";
Log 1, "GetFileFromURL $displayurl: Select timeout/error: $!";
undef $conn;
return undef;
}