From dfda0a7320b8b2a4c515d7f907966a02cd166859 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Wed, 11 Jul 2012 14:46:37 +0000 Subject: [PATCH] avoid uninitialized messages if the selectlist entry has no name any more git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1719 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 5599911f1..e107bc8e6 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -441,7 +441,6 @@ 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}); next if(!$selectlist{$p} || !$selectlist{$p}{NAME}); # due to rereadcfg/del CallFn($selectlist{$p}{NAME}, "ReadFn", $selectlist{$p})