diff --git a/remove-spam-high-confidence-maildir.plx b/remove-spam-high-confidence-maildir.plx index b78960f..645d499 100755 --- a/remove-spam-high-confidence-maildir.plx +++ b/remove-spam-high-confidence-maildir.plx @@ -124,7 +124,7 @@ print sprintf("%.2f", $percent), "% ($countDeleted/$total) ", sprintf("were deleted.\nThis leaves %d in the folder.\n", $total - $countDeleted)); -my $percentInDate = ($totalInDate / $total) * 100.00; +my $percentInDate = ($totalInDate / $totalInDate) * 100.00; print sprintf("Of those matching the date range, %.2f", $percentInDate), "% ($countDeleted/$totalInDate) ", ((defined $COUNT_ONLY and $COUNT_ONLY) ?