2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 13:24:56 +00:00

BugFix for the value from yesterday problem

git-svn-id: https://svn.fhem.de/fhem/trunk@1603 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-06-04 04:47:46 +00:00
parent 242f0bf8bd
commit 48b43f7c9e

View File

@ -262,8 +262,8 @@ RESCAN:
my $l;
if($rescan) {
last if($rescanIdx<=1 || !$rescanNum);
$l = $rescanArr[--$rescanIdx];
last if($rescanIdx<1 || !$rescanNum);
$l = $rescanArr[$rescanIdx--];
} else {
$l = <$ifh>;
last if(!$l);