projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rebuild developer manual
[privoxy.git]
/
parsers.c
diff --git
a/parsers.c
b/parsers.c
index
ba151d1
..
14aa99e
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-1211,8
+1211,8
@@
static void enforce_header_order(struct list *headers, const struct list *ordere
}
list_remove_all(headers);
}
list_remove_all(headers);
-
list_duplicate(headers, new_headers)
;
-
list_remove_all(new_headers)
;
+
headers->first = new_headers->first
;
+
headers->last = new_headers->last
;
return;
}
return;
}
@@
-1697,7
+1697,8
@@
static jb_err filter_header(struct client_state *csp, char **header)
if (NULL == joblist)
{
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;
}
continue;
}
@@
-1711,7
+1712,8
@@
static jb_err filter_header(struct client_state *csp, char **header)
if (0 < matches)
{
current_hits += matches;
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;
}
freez(*header);
*header = newheader;
}
@@
-1723,7
+1725,8
@@
static jb_err filter_header(struct client_state *csp, char **header)
else
{
/* RegEx failure */
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)
{
*header, b->name, pcrs_strerror(matches));
if (newheader != NULL)
{