2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

DevIo.pm: fix RFXTRX after ECMD fix (Forum #26088)

git-svn-id: https://svn.fhem.de/fhem/trunk@7930 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-02-10 08:16:21 +00:00
parent 38e817bd56
commit 61e910c242

View File

@ -95,7 +95,7 @@ DevIo_TimeoutRead($$)
my $nfound = select($rin, undef, undef, $timeout);
last if($nfound <= 0);
my $r = DevIo_DoSimpleRead($hash);
last if(!defined($r) || $r == "");
last if(!defined($r) || ($r == "" && $hash->{TCPDev}));
$answer .= $r;
}
return $answer;