2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-15 22:26:04 +00:00

93_Log2Syslog: contrib 5.7.0

git-svn-id: https://svn.fhem.de/fhem/trunk@19868 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-07-20 12:26:49 +00:00
parent 0fd7641bff
commit e4b0141253

View File

@ -610,7 +610,7 @@ sub Log2Syslog_getifdata($$@) {
my $off = 0;
$ret = sysread($c, $buf, $len); # returns undef on error, 0 at end of file and Integer, number of bytes read on success.
if(!defined($ret)){
if(!defined($ret) && $! == EWOULDBLOCK){
# error
$hash->{wantWrite} = 1 if(TcpServer_WantWrite($hash));
$hash = $shash;