mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
00_CUL.pm: CUL_MAX fix for readanswer (Forum #36541)
git-svn-id: https://svn.fhem.de/fhem/trunk@8464 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dd3e5c3234
commit
1ea399a3ba
@ -542,6 +542,7 @@ CUL_ReadAnswer($$$$)
|
||||
$mculdata = $2;
|
||||
(undef, $line) = CUL_prefix(0, $ohash, $line); # Delete prefix
|
||||
if($regexp && $line !~ m/$regexp/) {
|
||||
$line =~ s/[\n\r]+//g;
|
||||
CUL_Parse($ohash, $hash, $ohash->{NAME}, $line);
|
||||
} else {
|
||||
return (undef, $line);
|
||||
|
Loading…
Reference in New Issue
Block a user