From: Fabian Keil <fk@fabiankeil.de>
Date: Sat, 30 May 2020 04:36:15 +0000 (+0200)
Subject: privoxy-log-parser.pl: Align the client-HTTP-version distribution like other distribu... 
X-Git-Tag: v_3_0_29~344
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/faq/@default-cgi@/diff?a=commitdiff_plain;h=fd57abaf17b528b7ede87bdc2f40ad751de2f968;p=privoxy.git

privoxy-log-parser.pl: Align the client-HTTP-version distribution like other distributions
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index dcb9d357..5a1ebca8 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -2237,7 +2237,7 @@ sub print_stats () {
     }
     print "Client HTTP versions:\n";
     foreach my $http_version (sort {$stats{'http-version'}{$b} <=> $stats{'http-version'}{$a}} keys %{$stats{'http-version'}}) {
-        printf "%d : %s\n",  $stats{'http-version'}{$http_version}, $http_version;
+        printf "%8d : %-8s\n",  $stats{'http-version'}{$http_version}, $http_version;
     }
     if (exists $stats{'status-code'}) {
         print "HTTP status codes:\n";