fix: Global symbol "$port" requires
This commit is contained in:
parent
813dd5ee34
commit
638cbba10b
@ -1,2 +1,2 @@
|
||||
UPD 2023-11-15_19:19:41 19028 FHEM/82_LGTV_WebOS.pm
|
||||
UPD 2023-11-15_19:19:45 55994 lib/FHEM/Devices/LGTV/LGTVWebOS.pm
|
||||
UPD 2023-11-16_19:43:35 55993 lib/FHEM/Devices/LGTV/LGTVWebOS.pm
|
||||
|
@ -666,8 +666,9 @@ sub Open {
|
||||
KeepAlive => 1,
|
||||
Timeout => $timeout
|
||||
)
|
||||
or return ::Log3( $name, 4,
|
||||
"LGTV_WebOS ($name) Couldn't connect to $host:$port" ); # open Socket
|
||||
or
|
||||
return ::Log3( $name, 4, "LGTV_WebOS ($name) Couldn't connect to $host" )
|
||||
; # open Socket
|
||||
|
||||
$hash->{FD} = $socket->fileno();
|
||||
$hash->{CD} = $socket; # sysread / close won't work on fileno
|
||||
|
Loading…
Reference in New Issue
Block a user