2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

30_HUEBridge.pm: syntax cleanup

git-svn-id: https://svn.fhem.de/fhem/trunk@11840 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2016-07-24 13:31:10 +00:00
parent 8bf75a84d2
commit 329b8cbb97

View File

@ -914,7 +914,7 @@ HUEBridge_HTTP_Call($$$;$)
if( !$ret ) {
Log3 $name, 2, "$name: empty answer received for $uri";
return undef;
} elsif( $ret =~ 'HTTP/1.1 200 OK' ) {
} elsif( $ret =~ m'HTTP/1.1 200 OK' ) {
Log3 $name, 4, "$name: empty answer received for $uri";
return undef;
} elsif( $ret !~ m/^[\[{].*[\]}]$/ ) {
@ -980,7 +980,7 @@ HUEBridge_HTTP_Call2($$$$;$)
if( !$data ) {
Log3 $name, 2, "$name: empty answer received for $url";
return undef;
} elsif( $data =~ 'HTTP/1.1 200 OK' ) {
} elsif( $data =~ m'HTTP/1.1 200 OK' ) {
Log3 $name, 4, "$name: empty answer received for $url";
return undef;
} elsif( $data !~ m/^[\[{].*[\]}]$/ ) {