2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

avoid uninitialized messages if the selectlist entry has no name any more

git-svn-id: https://svn.fhem.de/fhem/trunk@1719 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-07-11 14:46:37 +00:00
parent 7db2ee26d2
commit 8964ec1f15

View File

@ -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})