[Privoxy-commits] [privoxy] 11/19: filter_header(): Break a couple of long lines
User Git
git at git.privoxy.org
Sun Jan 10 15:50:50 UTC 2021
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit eb72eb48387f3d41f04b045b8f0ed5e51cc63a33
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Jan 10 03:55:34 2021 +0100
filter_header(): Break a couple of long lines
---
parsers.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/parsers.c b/parsers.c
index de1eea48..14aa99ea 100644
--- a/parsers.c
+++ b/parsers.c
@@ -1697,7 +1697,8 @@ static jb_err filter_header(struct client_state *csp, char **header)
if (NULL == joblist)
{
- log_error(LOG_LEVEL_RE_FILTER, "Filter %s has empty joblist. Nothing to do.", b->name);
+ log_error(LOG_LEVEL_RE_FILTER,
+ "Filter %s has empty joblist. Nothing to do.", b->name);
continue;
}
@@ -1711,7 +1712,8 @@ static jb_err filter_header(struct client_state *csp, char **header)
if (0 < matches)
{
current_hits += matches;
- log_error(LOG_LEVEL_HEADER, "Transforming \"%s\" to \"%s\"", *header, newheader);
+ log_error(LOG_LEVEL_HEADER,
+ "Transforming \"%s\" to \"%s\"", *header, newheader);
freez(*header);
*header = newheader;
}
@@ -1723,7 +1725,8 @@ static jb_err filter_header(struct client_state *csp, char **header)
else
{
/* RegEx failure */
- log_error(LOG_LEVEL_ERROR, "Filtering \'%s\' with \'%s\' didn't work out: %s",
+ log_error(LOG_LEVEL_ERROR,
+ "Filtering \'%s\' with \'%s\' didn't work out: %s",
*header, b->name, pcrs_strerror(matches));
if (newheader != NULL)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list