projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
17f6c9b
)
Jon's multiple AF patch: url_actions now evaluates rules
author
oes
<oes@users.sourceforge.net>
Wed, 24 Apr 2002 02:11:17 +0000
(
02:11
+0000)
committer
oes
<oes@users.sourceforge.net>
Wed, 24 Apr 2002 02:11:17 +0000
(
02:11
+0000)
from all AFs.
filters.c
patch
|
blob
|
history
diff --git
a/filters.c
b/filters.c
index
fbb1694
..
ff70ac5
100644
(file)
--- a/
filters.c
+++ b/
filters.c
@@
-1,4
+1,4
@@
-const char filters_rcs[] = "$Id: filters.c,v 1.5
6 2002/04/05 15:51:24 oes
Exp $";
+const char filters_rcs[] = "$Id: filters.c,v 1.5
7 2002/04/08 20:38:34 swa
Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
@@
-38,6
+38,9
@@
const char filters_rcs[] = "$Id: filters.c,v 1.56 2002/04/05 15:51:24 oes Exp $"
*
* Revisions :
* $Log: filters.c,v $
*
* Revisions :
* $Log: filters.c,v $
+ * Revision 1.57 2002/04/08 20:38:34 swa
+ * fixed JB spelling
+ *
* Revision 1.56 2002/04/05 15:51:24 oes
* - bugfix: error-pages now get correct request protocol
* - fix for invalid HTML in trust info
* Revision 1.56 2002/04/05 15:51:24 oes
* - bugfix: error-pages now get correct request protocol
* - fix for invalid HTML in trust info
@@
-1498,16
+1501,21
@@
void url_actions(struct http_request *http,
{
struct file_list *fl;
struct url_actions *b;
{
struct file_list *fl;
struct url_actions *b;
+ int i;
init_current_action(csp->action);
init_current_action(csp->action);
-
if (((fl = csp->actions_list) == NULL) || ((b = fl->f) == NULL)
)
+
for (i = 0; i < MAX_ACTION_FILES; i++
)
{
{
- return;
- }
+ if (((fl = csp->actions_list[i]) == NULL) || ((b = fl->f) == NULL))
+ {
+ return;
+ }
- apply_url_actions(csp->action, http, b);
+ apply_url_actions(csp->action, http, b);
+ }
+ return;
}
}