2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-09 20:57:11 +00:00

HMCCU: Fixed bug in RPC callback URL creation

git-svn-id: https://svn.fhem.de/fhem/trunk@21747 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
zap 2020-04-22 13:42:49 +00:00
parent e82b4d9a97
commit 19f1685d40
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # 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. # Do not insert empty lines here, update check depends on it.
- bugfix: 88_HMCCU: Fixed bug in RPC callback URL creation.
- bugfix: OpenWeatherMapAPI: fix Use of uninitialized value in sprintf - bugfix: OpenWeatherMapAPI: fix Use of uninitialized value in sprintf
- change: 58_HVAC_DaikinAC.pm: initial checkin for new module. - change: 58_HVAC_DaikinAC.pm: initial checkin for new module.
Forum topic #109562 Forum topic #109562

View File

@ -4,7 +4,7 @@
# #
# $Id$ # $Id$
# #
# Version 4.3.024 # Version 4.3.025
# #
# Module for communication between FHEM and Homematic CCU2/3. # Module for communication between FHEM and Homematic CCU2/3.
# #
@ -52,7 +52,7 @@ my %HMCCU_CUST_CHN_DEFAULTS;
my %HMCCU_CUST_DEV_DEFAULTS; my %HMCCU_CUST_DEV_DEFAULTS;
# HMCCU version # HMCCU version
my $HMCCU_VERSION = '4.3.024'; my $HMCCU_VERSION = '4.3.025';
# Constants and default values # Constants and default values
my $HMCCU_MAX_IOERRORS = 100; my $HMCCU_MAX_IOERRORS = 100;
@ -3780,7 +3780,7 @@ sub HMCCU_GetRPCCallbackURL ($$$$$)
return undef if (!defined ($hash)); return undef if (!defined ($hash));
my $hmccu_hash = $hash->{TYPE} eq 'HMCCURPC' ? $hash->{IODev} : $hash; my $hmccu_hash = $hash->{TYPE} eq 'HMCCURPCPROC' ? $hash->{IODev} : $hash;
return undef if (!exists ($hmccu_hash->{hmccu}{interfaces}{$iface}) && return undef if (!exists ($hmccu_hash->{hmccu}{interfaces}{$iface}) &&
!exists ($hmccu_hash->{hmccu}{ifports}{$iface})); !exists ($hmccu_hash->{hmccu}{ifports}{$iface}));