bugfix: rssi_monitor log file size trim calculation error

This commit is contained in:
AE6XE 2015-11-02 22:15:22 -08:00
parent 8cd8e07885
commit 79bf05f7d9
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ undef $/;
$^I = "";
while (<>)
{
substr($_, 0, $MAXSIZE - length) = "";
substr($_, 0, length() - $MAXSIZE) = "";
s/.*\n//;
print;
}