From 505e9dd32488a92a8a6a1b860da37ed025f8c246 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sun, 27 Dec 2009 18:12:13 +0000 Subject: [PATCH] FileLog get bug (or speed optimization) git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@524 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/92_FileLog.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FHEM/92_FileLog.pm b/FHEM/92_FileLog.pm index c84cf89c1..e525d8e43 100755 --- a/FHEM/92_FileLog.pm +++ b/FHEM/92_FileLog.pm @@ -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; }