mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
Disconnect fix
git-svn-id: https://svn.fhem.de/fhem/trunk@460 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
abce2f312d
commit
881a6bd0eb
@ -509,8 +509,7 @@ CUL_ReadAnswer($$$)
|
||||
if($nfound < 0) {
|
||||
next if ($! == EAGAIN() || $! == EINTR() || $! == 0);
|
||||
my $err = $!;
|
||||
close($hash->{FD});
|
||||
undef($hash->{FD});
|
||||
CUL_Disconnected($hash);
|
||||
return("CUL_ReadAnswer $arg: $err", undef);
|
||||
}
|
||||
return ("Timeout reading answer for get $arg", undef)
|
||||
|
Loading…
x
Reference in New Issue
Block a user