2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

TcpServerUtils.pm: avoid useless error (Forum #56364)

git-svn-id: https://svn.fhem.de/fhem/trunk@11908 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-08-06 15:09:55 +00:00
parent 0a093c310d
commit 95158363a2

View File

@ -105,7 +105,8 @@ TcpServer_Accept($$)
&& $err ne "Socket is not connected") {
$err = "" if(!$err);
$err .= " ".($SSL_ERROR ? $SSL_ERROR : IO::Socket::SSL::errstr());
Log3 $name, 1, "$type SSL/HTTPS error: $err";
Log3 $name, 1, "$type SSL/HTTPS error: $err"
if($err !~ m/error:00000000:lib.0.:func.0.:reason.0./); #Forum 56364
close($clientinfo[0]);
return undef;
}