2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 14:46:24 +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:
rudolfkoenig 2016-07-06 11:35:04 +00:00
parent c5bccf9200
commit bb709dd5e7

View File

@ -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;