projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
As the wafer actions are gone, we can stop including encode.h.
[privoxy.git]
/
parsers.c
diff --git
a/parsers.c
b/parsers.c
index
6bb3182
..
a1f1f4f
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-1,4
+1,4
@@
-const char parsers_rcs[] = "$Id: parsers.c,v 1.13
1 2008/05/20 20:13:30
fabiankeil Exp $";
+const char parsers_rcs[] = "$Id: parsers.c,v 1.13
3 2008/05/21 15:50:47
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
@@
-44,6
+44,13
@@
const char parsers_rcs[] = "$Id: parsers.c,v 1.131 2008/05/20 20:13:30 fabiankei
*
* Revisions :
* $Log: parsers.c,v $
*
* Revisions :
* $Log: parsers.c,v $
+ * Revision 1.133 2008/05/21 15:50:47 fabiankeil
+ * Ditch cast from (char **) to (char **).
+ *
+ * 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.
* 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.
@@
-829,7
+836,6
@@
const char parsers_rcs[] = "$Id: parsers.c,v 1.131 2008/05/20 20:13:30 fabiankei
#endif /* def FEATURE_PTHREAD */
#include "list.h"
#include "parsers.h"
#endif /* def FEATURE_PTHREAD */
#include "list.h"
#include "parsers.h"
-#include "encode.h"
#include "ssplit.h"
#include "errlog.h"
#include "jbsockets.h"
#include "ssplit.h"
#include "errlog.h"
#include "jbsockets.h"
@@
-1813,7
+1819,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))
{
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++;
}
}
v++;