2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

66_ECMD: use STATE not state for connection checking (forum #31307)

git-svn-id: https://svn.fhem.de/fhem/trunk@7510 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2015-01-10 20:20:34 +00:00
parent 13fabcbd8f
commit ac65d93e7e
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- fix: 66_ECMD: use STATE not state for connection checking (forum #31307)
- feature: 57_Calendar: enable gzipped ical files (forum #31845)
- bugfix: 70_Jabber.pm: XMPP DNS SVR record query added
- bugfix: 70_PIONEERAVR: fixed "missed to call readingsBeginUpdate first"

View File

@ -532,7 +532,7 @@ sub ECMD_Read($)
{
my ($hash) = @_;
return undef unless($hash->{state} eq "opened"); # avoid reading from closed device
return undef unless($hash->{STATE} eq "opened"); # avoid reading from closed device
my $buf = ECMD_SimpleRead($hash);
return unless(defined($buf));