DevIo.pm: fix crash (Forum #55332)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11748 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-07-06 11:35:04 +00:00
parent 959c97c9bb
commit fc6895573b

View File

@ -303,7 +303,7 @@ DevIo_OpenDev($$$;$)
# for non-existent devices has a delay of 3 sec, we are sitting all the # 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. # time in this connect. NEXT_OPEN tries to avoid this problem.
if($hash->{NEXT_OPEN} && time() < $hash->{NEXT_OPEN}) { 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; my $timeout = $hash->{TIMEOUT} ? $hash->{TIMEOUT} : 3;