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:
parent
0fd7641bff
commit
e4b0141253
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user