projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In LogPutString(), don't bother looking at pszText when not actually logging anything
[privoxy.git]
/
filters.c
diff --git
a/filters.c
b/filters.c
index
e378ff4
..
2a1f46b
100644
(file)
--- a/
filters.c
+++ b/
filters.c
@@
-1,4
+1,4
@@
-const char filters_rcs[] = "$Id: filters.c,v 1.1
37 2010/11/13 11:09:54
fabiankeil Exp $";
+const char filters_rcs[] = "$Id: filters.c,v 1.1
42 2011/04/19 13:00:47
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
@@
-485,7
+485,7
@@
int acl_addr(const char *aspec, struct access_control_addr *aca)
* of octets (128-bit CPU could do it in one iteration).
*/
/*
* of octets (128-bit CPU could do it in one iteration).
*/
/*
- * Octets after prefix can be om
m
itted because of
+ * Octets after prefix can be omitted because of
* previous initialization to zeros.
*/
for (i = 0; (i < addr_len) && masklength; i++)
* previous initialization to zeros.
*/
for (i = 0; (i < addr_len) && masklength; i++)
@@
-1002,10
+1002,9
@@
pcrs_job *compile_dynamic_pcrs_job_list(const struct client_state *csp, const st
dummy = pcrs_compile_dynamic_command(pattern->str, variables, &error);
if (NULL == dummy)
{
dummy = pcrs_compile_dynamic_command(pattern->str, variables, &error);
if (NULL == dummy)
{
- assert(error < 0);
log_error(LOG_LEVEL_ERROR,
log_error(LOG_LEVEL_ERROR,
- "
Adding filter job \'%s\' to dynamic filter %s faile
d: %s",
- pattern->str, b->name, pcrs_strerror(error));
+ "
Compiling dynamic pcrs job '%s' for '%s' failed with error code %
d: %s",
+ pattern->str, b->name,
error,
pcrs_strerror(error));
continue;
}
else
continue;
}
else
@@
-2232,7
+2231,7
@@
struct http_response *direct_response(struct client_state *csp)
{
for (p = csp->headers->first; (p != NULL) ; p = p->next)
{
{
for (p = csp->headers->first; (p != NULL) ; p = p->next)
{
- if (!strncmpic(
"Max-Forwards:", p->str
, 13))
+ if (!strncmpic(
p->str, "Max-Forwards:"
, 13))
{
unsigned int max_forwards;
{
unsigned int max_forwards;