From 329b8cbb97afc691690a1e8a99e30bc0b94432df Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Sun, 24 Jul 2016 13:31:10 +0000 Subject: [PATCH] 30_HUEBridge.pm: syntax cleanup git-svn-id: https://svn.fhem.de/fhem/trunk@11840 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/30_HUEBridge.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/30_HUEBridge.pm b/fhem/FHEM/30_HUEBridge.pm index 1008cc72e..d36633c61 100644 --- a/fhem/FHEM/30_HUEBridge.pm +++ b/fhem/FHEM/30_HUEBridge.pm @@ -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/^[\[{].*[\]}]$/ ) {