FileLog get bug (or speed optimization)

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@524 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2009-12-27 18:12:13 +00:00
parent 0ce99a621d
commit 505e9dd324

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