projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9fec89d
)
handle-as-empty-document shouldn't be dependent on the image blocking
author
Lee
<ler762@users.sourceforge.net>
Sun, 25 Oct 2009 15:23:40 +0000
(15:23 +0000)
committer
Lee
<ler762@users.sourceforge.net>
Sun, 25 Oct 2009 15:23:40 +0000
(15:23 +0000)
feature being enabled.
filters.c
patch
|
blob
|
history
diff --git
a/filters.c
b/filters.c
index
878c825
..
219c581
100644
(file)
--- a/
filters.c
+++ b/
filters.c
@@
-1,4
+1,4
@@
-const char filters_rcs[] = "$Id: filters.c,v 1.12
3 2009/06/19 15:50:53
fabiankeil Exp $";
+const char filters_rcs[] = "$Id: filters.c,v 1.12
4 2009/08/19 15:24:30
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
@@
-689,7
+689,9
@@
struct http_response *block_url(struct client_state *csp)
}
#endif /* Preceeding code is disabled for now */
}
}
#endif /* Preceeding code is disabled for now */
}
- else if(csp->action->flags & ACTION_HANDLE_AS_EMPTY_DOCUMENT)
+ else
+#endif /* def FEATURE_IMAGE_BLOCKING */
+ if(csp->action->flags & ACTION_HANDLE_AS_EMPTY_DOCUMENT)
{
/*
* Send empty document.
{
/*
* Send empty document.
@@
-717,7
+719,6
@@
struct http_response *block_url(struct client_state *csp)
}
}
else
}
}
else
-#endif /* def FEATURE_IMAGE_BLOCKING */
/*
* Else, generate an HTML "blocked" message:
/*
* Else, generate an HTML "blocked" message: