X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=filters.c;h=1fc1c476b7e140a0baec9e3e2defc6501e7f89e1;hb=8ee7f337d9dda6875f15cab70475febd9ae9488a;hp=f1eacd330ddd5956ec7bea35d1d5488ca4bfec18;hpb=07a776c80fa99f9dbb598a0938f351e95afa0656;p=privoxy.git diff --git a/filters.c b/filters.c index f1eacd33..1fc1c476 100644 --- a/filters.c +++ b/filters.c @@ -1,4 +1,4 @@ -const char filters_rcs[] = "$Id: filters.c,v 1.190 2014/10/18 11:26:48 fabiankeil Exp $"; +const char filters_rcs[] = "$Id: filters.c,v 1.191 2014/10/18 11:28:36 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/filters.c,v $ @@ -2009,7 +2009,6 @@ static filter_function_ptr get_filter_function(const struct client_state *csp) * the content type and action settings. */ if ((csp->content_type & CT_TEXT) && - (csp->rlist != NULL) && (!list_is_empty(csp->action->multi[ACTION_MULTI_FILTER]))) { filter_function = pcrs_filter_response; @@ -2222,7 +2221,6 @@ char *execute_content_filters(struct client_state *csp) #ifdef FEATURE_EXTERNAL_FILTERS if ((csp->content_type & CT_TEXT) && - (csp->rlist != NULL) && !list_is_empty(csp->action->multi[ACTION_MULTI_EXTERNAL_FILTER])) { struct list_entry *filtername; @@ -2627,7 +2625,6 @@ int content_requires_filtering(struct client_state *csp) * the content type and action settings. */ if ((csp->content_type & CT_TEXT) && - (csp->rlist != NULL) && (!list_is_empty(csp->action->multi[ACTION_MULTI_FILTER]) || !list_is_empty(csp->action->multi[ACTION_MULTI_EXTERNAL_FILTER]))) {