From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 11 Sep 2020 12:40:35 +0000 (+0200)
Subject: client_if_modified_since(): Remove an unused argument from a log_error() call
X-Git-Tag: v_3_0_29~119
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/user-manual/static/coding.html?a=commitdiff_plain;h=5026f059f533550013526b961082fad603eba10d;p=privoxy.git

client_if_modified_since(): Remove an unused argument from a log_error() call
---

diff --git a/parsers.c b/parsers.c
index 2b3a34f8..4908f274 100644
--- a/parsers.c
+++ b/parsers.c
@@ -3570,8 +3570,8 @@ static jb_err client_if_modified_since(struct client_state *csp, char **header)
             }
             else
             {
-               log_error(LOG_LEVEL_ERROR, "Random range is 0. Assuming time transformation test.",
-                  *header);
+               log_error(LOG_LEVEL_ERROR,
+                  "Random range is 0. Assuming time transformation test.");
             }
             tm += rtime * (negative_range ? -1 : 1);
             timeptr = privoxy_gmtime_r(&tm, &gmt);