From: Gabor Liptak Date: Sat, 6 Dec 2003 22:18:27 +0000 (+0000) Subject: Correcting compile problem with FEATURE_IMAGE_BLOCKING X-Git-Tag: v_3_0_3~50 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=23eea4aad47f06634c77b8fcef23fb076f2b8265;p=privoxy.git Correcting compile problem with FEATURE_IMAGE_BLOCKING --- diff --git a/filters.c b/filters.c index 1d83e5f7..579711c5 100644 --- a/filters.c +++ b/filters.c @@ -1,4 +1,4 @@ -const char filters_rcs[] = "$Id: filters.c,v 1.58.2.4 2003/02/28 12:52:45 oes Exp $"; +const char filters_rcs[] = "$Id: filters.c,v 1.58.2.5 2003/11/11 13:10:31 oes Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/Attic/filters.c,v $ @@ -38,6 +38,9 @@ const char filters_rcs[] = "$Id: filters.c,v 1.58.2.4 2003/02/28 12:52:45 oes Ex * * Revisions : * $Log: filters.c,v $ + * Revision 1.58.2.5 2003/11/11 13:10:31 oes + * Fixed bug #839859: "See why" link URL now gets url-encoded. + * * Revision 1.58.2.4 2003/02/28 12:52:45 oes * Fixed a typo * @@ -698,9 +701,6 @@ int match_portlist(const char *portlist, int port) *********************************************************************/ struct http_response *block_url(struct client_state *csp) { -#ifdef FEATURE_IMAGE_BLOCKING - char *p; -#endif /* def FEATURE_IMAGE_BLOCKING */ struct http_response *rsp; /* @@ -727,6 +727,7 @@ struct http_response *block_url(struct client_state *csp) if (((csp->action->flags & ACTION_IMAGE_BLOCKER) != 0) && is_imageurl(csp)) { + char *p; /* determine HOW images should be blocked */ p = csp->action->string[ACTION_STRING_IMAGE_BLOCKER]; @@ -817,6 +818,7 @@ struct http_response *block_url(struct client_state *csp) { jb_err err; struct map * exports; + char *p; /* * Workaround for stupid Netscape bug which prevents