mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 20:52:13 +00:00
DevIo.pm: fix crash (Forum #55332)
git-svn-id: https://svn.fhem.de/fhem/trunk@11748 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c5bccf9200
commit
bb709dd5e7
@ -303,7 +303,7 @@ DevIo_OpenDev($$$;$)
|
||||
# for non-existent devices has a delay of 3 sec, we are sitting all the
|
||||
# time in this connect. NEXT_OPEN tries to avoid this problem.
|
||||
if($hash->{NEXT_OPEN} && time() < $hash->{NEXT_OPEN}) {
|
||||
return &doCb(undef); # Forum 53309
|
||||
return &$doCb(undef); # Forum 53309
|
||||
}
|
||||
|
||||
my $timeout = $hash->{TIMEOUT} ? $hash->{TIMEOUT} : 3;
|
||||
|
Loading…
x
Reference in New Issue
Block a user