mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
92_FileLog.pm: avoid crash when Plotting the Filelog (Forum #46512)
git-svn-id: https://svn.fhem.de/fhem/trunk@10365 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
06310bc1f7
commit
c74f695488
@ -964,6 +964,7 @@ FileLog_seekTo($$$$$)
|
|||||||
($upper, $next) = ($next, int(($lower+$next)/2));
|
($upper, $next) = ($next, int(($lower+$next)/2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$last = 0 if($last < 0); # Forum #46512
|
||||||
$hash->{pos}{"$fname:$ts"} = $last;
|
$hash->{pos}{"$fname:$ts"} = $last;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user