X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=filters.c;h=c1ed95d82af86881a670bc2b9a1c84b0d90f3985;hb=1b0d53fa23240e90b61d19d621e4462934efb482;hp=cc06229d36799ca3011ef99c286e54f263132f16;hpb=2ed7b3cf5bffa4ca40fcce5158f802eb19ab1022;p=privoxy.git diff --git a/filters.c b/filters.c index cc06229d..c1ed95d8 100644 --- a/filters.c +++ b/filters.c @@ -1,7 +1,7 @@ -const char filters_rcs[] = "$Id: filters.c,v 1.21 2001/07/13 13:59:53 oes Exp $"; +const char filters_rcs[] = "$Id: filters.c,v 1.22 2001/07/18 12:29:34 oes Exp $"; /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/filters.c,v $ + * File : $Source: /cvsroot/ijbswa//current/filters.c,v $ * * Purpose : Declares functions to parse/crunch headers and pages. * Functions declared include: @@ -38,6 +38,11 @@ const char filters_rcs[] = "$Id: filters.c,v 1.21 2001/07/13 13:59:53 oes Exp $" * * Revisions : * $Log: filters.c,v $ + * Revision 1.22 2001/07/18 12:29:34 oes + * - Made gif_deanimate_response respect + * csp->action->string[ACTION_STRING_DEANIMATE] + * - Logging cosmetics + * * Revision 1.21 2001/07/13 13:59:53 oes * - Introduced gif_deanimate_response which shares the * generic content modification interface of pcrs_filter_response @@ -917,6 +922,12 @@ char *pcrs_filter_response(struct client_state *csp) return(NULL); } + if ( NULL == b->joblist ) + { + log_error(LOG_LEVEL_RE_FILTER, "Empty joblist. Nothing to do."); + return(NULL); + } + log_error(LOG_LEVEL_RE_FILTER, "re_filtering %s%s (size %d) ...", csp->http->hostport, csp->http->path, size);