mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
socat special for Olaf
git-svn-id: https://svn.fhem.de/fhem/trunk@885 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a60b29b433
commit
4aa6014b6c
@ -598,7 +598,9 @@ CUL_ReadAnswer($$$$)
|
|||||||
$mculdata .= $buf;
|
$mculdata .= $buf;
|
||||||
}
|
}
|
||||||
$mculdata = CUL_RFR_DelPrefix($mculdata) if($type eq "CUL_RFR");
|
$mculdata = CUL_RFR_DelPrefix($mculdata) if($type eq "CUL_RFR");
|
||||||
if($mculdata =~ m/\r\n/ || $anydata) {
|
|
||||||
|
# \n\n is socat special
|
||||||
|
if($mculdata =~ m/\r\n/ || $anydata || $mculdata =~ m/\n\n/ ) {
|
||||||
if($regexp && $mculdata !~ m/$regexp/) {
|
if($regexp && $mculdata !~ m/$regexp/) {
|
||||||
CUL_Parse($hash, $hash, $hash->{NAME}, $mculdata, $hash->{initString});
|
CUL_Parse($hash, $hash, $hash->{NAME}, $mculdata, $hash->{initString});
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user