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:
@@ -390,7 +390,7 @@ seekTo($$$$)
|
|||||||
|
|
||||||
# If the second line is longer then the first,
|
# If the second line is longer then the first,
|
||||||
# binary search will never get it:
|
# 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;
|
$last = 0;
|
||||||
$div *= 2;
|
$div *= 2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user