mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +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:
parent
7db2ee26d2
commit
8964ec1f15
@ -441,7 +441,6 @@ while (1) {
|
|||||||
# reported by select, but is used by unix too, to check if the device is
|
# reported by select, but is used by unix too, to check if the device is
|
||||||
# attached again.
|
# attached again.
|
||||||
foreach my $p (keys %selectlist) {
|
foreach my $p (keys %selectlist) {
|
||||||
next if(!$selectlist{$p});
|
|
||||||
next if(!$selectlist{$p} || !$selectlist{$p}{NAME}); # due to rereadcfg/del
|
next if(!$selectlist{$p} || !$selectlist{$p}{NAME}); # due to rereadcfg/del
|
||||||
|
|
||||||
CallFn($selectlist{$p}{NAME}, "ReadFn", $selectlist{$p})
|
CallFn($selectlist{$p}{NAME}, "ReadFn", $selectlist{$p})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user