projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d022ae1
)
Cosmetics
author
oes
<oes@users.sourceforge.net>
Sat, 16 Mar 2002 20:29:14 +0000
(20:29 +0000)
committer
oes
<oes@users.sourceforge.net>
Sat, 16 Mar 2002 20:29:14 +0000
(20:29 +0000)
filters.c
patch
|
blob
|
history
diff --git
a/filters.c
b/filters.c
index
c2e7030
..
4fc07a2
100644
(file)
--- a/
filters.c
+++ b/
filters.c
@@
-1,4
+1,4
@@
-const char filters_rcs[] = "$Id: filters.c,v 1.4
7 2002/03/13 00:30:52 jongfoster
Exp $";
+const char filters_rcs[] = "$Id: filters.c,v 1.4
8 2002/03/13 20:25:34 oes
Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
@@
-38,6
+38,9
@@
const char filters_rcs[] = "$Id: filters.c,v 1.47 2002/03/13 00:30:52 jongfoster
*
* Revisions :
* $Log: filters.c,v $
*
* Revisions :
* $Log: filters.c,v $
+ * Revision 1.48 2002/03/13 20:25:34 oes
+ * Better logging for content filters
+ *
* Revision 1.47 2002/03/13 00:30:52 jongfoster
* Killing warnings
* Added option of always sending redirect for imageblock,
* Revision 1.47 2002/03/13 00:30:52 jongfoster
* Killing warnings
* Added option of always sending redirect for imageblock,
@@
-1295,18
+1298,18
@@
char *pcrs_filter_response(struct client_state *csp)
for (filtername = csp->action->multi[ACTION_MULTI_FILTER]->first;
filtername ; filtername = filtername->next)
{
for (filtername = csp->action->multi[ACTION_MULTI_FILTER]->first;
filtername ; filtername = filtername->next)
{
- if (strcmp(b->
filter
name, filtername->str) == 0)
+ if (strcmp(b->name, filtername->str) == 0)
{
int current_hits = 0;
if ( NULL == b->joblist )
{
{
int current_hits = 0;
if ( NULL == b->joblist )
{
- log_error(LOG_LEVEL_RE_FILTER, "Filter %s has empty joblist. Nothing to do.", b->
filter
name);
+ log_error(LOG_LEVEL_RE_FILTER, "Filter %s has empty joblist. Nothing to do.", b->name);
return(NULL);
}
log_error(LOG_LEVEL_RE_FILTER, "re_filtering %s%s (size %d) with filter %s...",
return(NULL);
}
log_error(LOG_LEVEL_RE_FILTER, "re_filtering %s%s (size %d) with filter %s...",
- csp->http->hostport, csp->http->path, size, b->
filter
name);
+ csp->http->hostport, csp->http->path, size, b->name);
/* Apply all jobs from the joblist */
for (job = b->joblist; NULL != job; job = job->next)
/* Apply all jobs from the joblist */
for (job = b->joblist; NULL != job; job = job->next)