From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 24 Aug 2020 10:13:36 +0000 (+0200)
Subject: privoxy-log-parser: Let handle_loglevel_re_filter() accept the no-content message
X-Git-Tag: v_3_0_29~189
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/static/diff?a=commitdiff_plain;h=346082cf5f44133b7e8a40f75267dbf6dea0c0b1;p=privoxy.git

privoxy-log-parser: Let handle_loglevel_re_filter() accept the no-content message

Sponsored by: Robert Klemme
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 09639938..695fad68 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -1210,6 +1210,12 @@ sub handle_loglevel_re_filter($) {
 
         return '' unless SHOW_FILTER_READIN_IN;
 
+    } elsif ($c =~ m/^Decompression didn't result/) {
+
+        # Decompression didn't result in any content.
+
+        # Nothing to highlight.
+
     } else {
 
         found_unknown_content($content);