From d194ef754f2c8e8e7866850904f6e78f0812b9dc Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Thu, 29 May 2025 19:04:16 +0200 Subject: [PATCH] Move lc() to counting. Signed-off-by: Thomas Hochstein --- bin/gatherstats.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/gatherstats.pl b/bin/gatherstats.pl index b9070af..3316f1f 100755 --- a/bin/gatherstats.pl +++ b/bin/gatherstats.pl @@ -321,11 +321,9 @@ sub HostStats { } } - # lowercase - $Host = lc($Host); - # count host if ($Host) { + $Host = lc($Host); $Postings{$Host}++; $Postings{'ALL'}++; } else {