Fix seekTo (old fix was only active for positions < 1024, don't know why)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3076 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-04-15 16:15:42 +00:00
parent 8379a6faca
commit 293b66b7d5

View File

@ -469,7 +469,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 && $next < 1024) { if($next eq $last && $data ge $ts && $div < 8192) {
$last = 0; $last = 0;
$div *= 2; $div *= 2;
} }