2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

FileLog get bug (or speed optimization)

git-svn-id: https://svn.fhem.de/fhem/trunk@524 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2009-12-27 18:12:13 +00:00
parent c479e241be
commit 3e85bf898d

View File

@ -390,7 +390,7 @@ seekTo($$$$)
# If the second line is longer then the first,
# binary search will never get it:
if($next eq $last && $data ge $ts && $div < 8192) {
if($next eq $last && $data ge $ts && $div < 8192 && $next < 1024) {
$last = 0;
$div *= 2;
}