2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

92_FileLog.pm: avoid crash when Plotting the Filelog (Forum #46512)

git-svn-id: https://svn.fhem.de/fhem/trunk@10365 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-01-05 10:57:56 +00:00
parent 06310bc1f7
commit c74f695488

View File

@ -964,6 +964,7 @@ FileLog_seekTo($$$$$)
($upper, $next) = ($next, int(($lower+$next)/2));
}
}
$last = 0 if($last < 0); # Forum #46512
$hash->{pos}{"$fname:$ts"} = $last;
}