projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for both static and dynamically generated CGI pages.
[privoxy.git]
/
miscutil.c
diff --git
a/miscutil.c
b/miscutil.c
index
6650890
..
8891c29
100644
(file)
--- a/
miscutil.c
+++ b/
miscutil.c
@@
-1,4
+1,4
@@
-const char miscutil_rcs[] = "$Id: miscutil.c,v 1.1
4 2001/06/29 21:45:41
oes Exp $";
+const char miscutil_rcs[] = "$Id: miscutil.c,v 1.1
6 2001/09/10 10:56:59
oes Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/miscutil.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/miscutil.c,v $
@@
-36,6
+36,12
@@
const char miscutil_rcs[] = "$Id: miscutil.c,v 1.14 2001/06/29 21:45:41 oes Exp
*
* Revisions :
* $Log: miscutil.c,v $
*
* Revisions :
* $Log: miscutil.c,v $
+ * Revision 1.16 2001/09/10 10:56:59 oes
+ * Silenced compiler warnings
+ *
+ * Revision 1.15 2001/07/13 14:02:24 oes
+ * Removed vim-settings
+ *
* Revision 1.14 2001/06/29 21:45:41 oes
* Indentation, CRLF->LF, Tab-> Space
*
* Revision 1.14 2001/06/29 21:45:41 oes
* Indentation, CRLF->LF, Tab-> Space
*
@@
-451,12
+457,12
@@
char *strsav(char *old, const char *text_to_append)
*********************************************************************/
int simplematch(char *pattern, char *text)
{
*********************************************************************/
int simplematch(char *pattern, char *text)
{
- char *fallback;
-
char *pat = pattern
;
- char *txt = text;
+ unsigned char *pat = (unsigned char *) pattern;
+
unsigned char *txt = (unsigned char *) text
;
+ unsigned char *fallback = pat;
int wildcard = 0;
int wildcard = 0;
- char lastchar = 'a';
+
unsigned
char lastchar = 'a';
unsigned i;
unsigned char charmap[32];
unsigned i;
unsigned char charmap[32];