projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
287926d
)
Fix gcc43 conversion warning.
author
Fabian Keil
<fk@fabiankeil.de>
Thu, 28 Dec 2006 17:15:42 +0000
(17:15 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Thu, 28 Dec 2006 17:15:42 +0000
(17:15 +0000)
actions.c
patch
|
blob
|
history
diff --git
a/actions.c
b/actions.c
index
dc33b9f
..
5f1ab9b
100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-1,7
+1,7
@@
-const char actions_rcs[] = "$Id: actions.c,v 1.3
2.2.6 2006/01/29 23:10:56
david__schmidt Exp $";
+const char actions_rcs[] = "$Id: actions.c,v 1.3
5 2006/07/18 14:48:45
david__schmidt Exp $";
/*********************************************************************
*
/*********************************************************************
*
- * File : $Source: /cvsroot/ijbswa/current/
Attic/
actions.c,v $
+ * File : $Source: /cvsroot/ijbswa/current/actions.c,v $
*
* Purpose : Declares functions to work with actions files
* Functions declared include: FIXME
*
* Purpose : Declares functions to work with actions files
* Functions declared include: FIXME
@@
-33,6
+33,10
@@
const char actions_rcs[] = "$Id: actions.c,v 1.32.2.6 2006/01/29 23:10:56 david_
*
* Revisions :
* $Log: actions.c,v $
*
* Revisions :
* $Log: actions.c,v $
+ * Revision 1.35 2006/07/18 14:48:45 david__schmidt
+ * Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
+ * with what was really the latest development (the v_3_0_branch branch)
+ *
* Revision 1.32.2.6 2006/01/29 23:10:56 david__schmidt
* Multiple filter file support
*
* Revision 1.32.2.6 2006/01/29 23:10:56 david__schmidt
* Multiple filter file support
*
@@
-1086,7
+1090,7
@@
static int load_one_actions_file(struct client_state *csp, int fileid)
if (buf[1] == '{')
{
/* It's {{settings}} or {{alias}} */
if (buf[1] == '{')
{
/* It's {{settings}} or {{alias}} */
-
in
t len = strlen(buf);
+
size_
t len = strlen(buf);
char * start = buf + 2;
char * end = buf + len - 1;
if ((len < 5) || (*end-- != '}') || (*end-- != '}'))
char * start = buf + 2;
char * end = buf + len - 1;
if ((len < 5) || (*end-- != '}') || (*end-- != '}'))