Disconnect fix
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@460 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user