Issues #9 fix

first test version for fix of #9

[Ticket: #9]
This commit is contained in:
2022-03-17 08:28:25 +01:00
parent 53c619ff1b
commit 2cf4007b05
2 changed files with 4 additions and 3 deletions

View File

@ -736,7 +736,8 @@ sub Read {
$hash->{helper}->{lastResponse} =
int( ::gettimeofday() ); # Check Socket KeepAlive
$len = sysread( $hash->{CD}, $buf, 10240 );
$len = sysread( $hash->{CD}, $buf, 10240 )
if exists( $hash->{CD} );
if ( !defined($len) || !$len ) {