mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
10_OWServer: fix for nonblocking mode with explicit version (use owserver from hash instead protocol from DEF)
git-svn-id: https://svn.fhem.de/fhem/trunk@16501 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e2334d7910
commit
8853bb203f
@ -364,7 +364,7 @@ OWServer_Read($@)
|
||||
InternalTimer(gettimeofday()+6, "OWServer_TimeoutChild", $pid, 0);
|
||||
if($pid == 0) {
|
||||
close READER;
|
||||
$ret= OWNet::read($hash->{DEF},$path);
|
||||
$ret= $hash->{fhem}{owserver}->read($path);
|
||||
$ret =~ s/^\s+//g if(defined($ret));
|
||||
my $r= defined($ret) ? $ret : "<undefined>";
|
||||
Log3 $hash, 5, "OWServer child read $path: $r";
|
||||
|
Loading…
Reference in New Issue
Block a user