projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5e758f7
)
Use privoxy_tolower() instead of vanilla tolower() with manual casting of the argument
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 4 Mar 2012 11:51:49 +0000
(11:51 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 4 Mar 2012 11:51:49 +0000
(11:51 +0000)
urlmatch.c
patch
|
blob
|
history
diff --git
a/urlmatch.c
b/urlmatch.c
index
65ae8a1
..
d7c2331
100644
(file)
--- a/
urlmatch.c
+++ b/
urlmatch.c
@@
-1,4
+1,4
@@
-const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.6
5 2011/11/06 11:41:34
fabiankeil Exp $";
+const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.6
6 2011/12/31 14:53:18
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $
@@
-135,7
+135,7
@@
jb_err init_domain_components(struct http_request *http)
/* map to lower case */
for (p = http->dbuffer; *p ; p++)
{
/* map to lower case */
for (p = http->dbuffer; *p ; p++)
{
- *p = (char)
tolower((int)(unsigned char)
*p);
+ *p = (char)
privoxy_tolower(
*p);
}
/* split the domain name into components */
}
/* split the domain name into components */
@@
-841,7
+841,7
@@
static jb_err compile_host_pattern(struct url_spec *url, const char *host_patter
*/
for (p = url->dbuffer; *p ; p++)
{
*/
for (p = url->dbuffer; *p ; p++)
{
- *p = (char)
tolower((int)(unsigned char)
*p);
+ *p = (char)
privoxy_tolower(
*p);
}
/*
}
/*