projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change content_filters_enabled()'s parameter from
[privoxy.git]
/
filters.c
diff --git
a/filters.c
b/filters.c
index
0d1d544
..
4a95975
100644
(file)
--- a/
filters.c
+++ b/
filters.c
@@
-1,4
+1,4
@@
-const char filters_rcs[] = "$Id: filters.c,v 1.10
4 2008/03/27 18:27:24
fabiankeil Exp $";
+const char filters_rcs[] = "$Id: filters.c,v 1.10
5 2008/03/28 15:13:39
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
@@
-40,6
+40,9
@@
const char filters_rcs[] = "$Id: filters.c,v 1.104 2008/03/27 18:27:24 fabiankei
*
* Revisions :
* $Log: filters.c,v $
*
* Revisions :
* $Log: filters.c,v $
+ * Revision 1.105 2008/03/28 15:13:39 fabiankeil
+ * Remove inspect-jpegs action.
+ *
* Revision 1.104 2008/03/27 18:27:24 fabiankeil
* Remove kill-popups action.
*
* Revision 1.104 2008/03/27 18:27:24 fabiankeil
* Remove kill-popups action.
*
@@
-2660,16
+2663,15
@@
struct http_response *direct_response(struct client_state *csp)
* enabled for the current request.
*
* Parameters :
* enabled for the current request.
*
* Parameters :
- * 1 :
csp = Current client state (buffers, headers, etc...)
+ * 1 :
action = Action spec to check.
*
* Returns : TRUE for yes, FALSE otherwise
*
*********************************************************************/
*
* Returns : TRUE for yes, FALSE otherwise
*
*********************************************************************/
-in
line int content_filters_enabled(const struct client_state *csp
)
+in
t content_filters_enabled(const struct current_action_spec *action
)
{
{
- return (((csp->rlist != NULL) &&
- (!list_is_empty(csp->action->multi[ACTION_MULTI_FILTER]))) ||
- (csp->action->flags & ACTION_DEANIMATE));
+ return ((action->flags & ACTION_DEANIMATE) ||
+ !list_is_empty(action->multi[ACTION_MULTI_FILTER]));
}
/*
}
/*