bugfix: rssi_monitor log file size trim calculation error

This commit is contained in:
AE6XE 2015-11-02 22:17:16 -08:00
commit d0ff01bdbf
1 changed files with 1 additions and 1 deletions

View File

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