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 3219b395a1
commit 518a1ac43b

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;
}