From ec9b219ca7b720d3ba7db3db5352308d9e67a16d Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Wed, 11 Jul 2012 14:45:23 +0000 Subject: [PATCH] inform timer regexp fix git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1718 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 3255b2715..5599911f1 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -441,7 +441,9 @@ while (1) { # reported by select, but is used by unix too, to check if the device is # attached again. foreach my $p (keys %selectlist) { - next if(!$selectlist{$p}); # due to rereadcfg / delete + next if(!$selectlist{$p}); + next if(!$selectlist{$p} || !$selectlist{$p}{NAME}); # due to rereadcfg/del + CallFn($selectlist{$p}{NAME}, "ReadFn", $selectlist{$p}) if(vec($rout, $selectlist{$p}{FD}, 1)); }