projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mention our new hosting sponsor on the homepage
[privoxy.git]
/
parsers.c
diff --git
a/parsers.c
b/parsers.c
index
205c292
..
64e6985
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-1,4
+1,4
@@
-const char parsers_rcs[] = "$Id: parsers.c,v 1.30
5 2016/01/16 12:32:18
fabiankeil Exp $";
+const char parsers_rcs[] = "$Id: parsers.c,v 1.30
7 2016/01/17 14:31:47
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
@@
-387,7
+387,7
@@
jb_err add_to_iob(struct iob *iob, const size_t buffer_limit, char *src, long n)
void clear_iob(struct iob *iob)
{
free(iob->buf);
void clear_iob(struct iob *iob)
{
free(iob->buf);
- memset(iob, '\0', sizeof(*iob));
;
+ memset(iob, '\0', sizeof(*iob));
}
}
@@
-2372,8
+2372,7
@@
static jb_err server_content_encoding(struct client_state *csp, char **header)
/*
* Log a warning if the user expects the content to be filtered.
*/
/*
* Log a warning if the user expects the content to be filtered.
*/
- if ((csp->rlist != NULL) &&
- (!list_is_empty(csp->action->multi[ACTION_MULTI_FILTER])))
+ if (content_filters_enabled(csp->action))
{
log_error(LOG_LEVEL_INFO,
"Compressed content detected, content filtering disabled. "
{
log_error(LOG_LEVEL_INFO,
"Compressed content detected, content filtering disabled. "