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

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7930 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-02-10 08:16:21 +00:00
parent 5c79caab2a
commit f3f77168bb

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;