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

correcting next to return on error conditions

git-svn-id: https://svn.fhem.de/fhem/trunk@705 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
wherzig 2010-08-16 20:52:33 +00:00
parent 2c44fafbba
commit df2db9e44f

View File

@ -632,14 +632,14 @@ OREGON_Parse($$)
my $checksum = $rec->{checksum};
if ($checksum && !$checksum->(\@rfxcom_data_array) ) {
Log 3, "OREGON: ERROR: checksum error sensor_id=$sensor_id (bits=$bits)";
next;
return;
}
my $method = $rec->{method};
unless ($method) {
Log 4, "OREGON: Possible message from Oregon part '$rec->{part}'";
Log 4, "OREGON: sensor_id=$sensor_id (bits=$bits)";
next;
return;
}
my @res;