From: Fabian Keil Date: Wed, 21 May 2008 15:50:47 +0000 (+0000) Subject: Ditch cast from (char **) to (char **). X-Git-Tag: v_3_0_9~84 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=2aafef68f695a9bb13671e141fcf0a6924f57342;p=privoxy.git Ditch cast from (char **) to (char **). --- diff --git a/parsers.c b/parsers.c index 6bb31820..4617dde1 100644 --- a/parsers.c +++ b/parsers.c @@ -1,4 +1,4 @@ -const char parsers_rcs[] = "$Id: parsers.c,v 1.131 2008/05/20 20:13:30 fabiankeil Exp $"; +const char parsers_rcs[] = "$Id: parsers.c,v 1.132 2008/05/21 15:47:14 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.c,v $ @@ -44,6 +44,10 @@ const char parsers_rcs[] = "$Id: parsers.c,v 1.131 2008/05/20 20:13:30 fabiankei * * Revisions : * $Log: parsers.c,v $ + * Revision 1.132 2008/05/21 15:47:14 fabiankeil + * Streamline sed()'s prototype and declare + * the header parse and add structures static. + * * Revision 1.131 2008/05/20 20:13:30 fabiankeil * Factor update_server_headers() out of sed(), ditch the * first_run hack and make server_patterns_light static. @@ -1813,7 +1817,7 @@ jb_err sed(struct client_state *csp, int filter_server_headers) if ((strncmpic(p->str, v->str, v->len) == 0) || (v->len == CHECK_EVERY_HEADER_REMAINING)) { - err = v->parser(csp, (char **)&(p->str)); + err = v->parser(csp, &(p->str)); } } v++;