projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renamed every reference to the old name with foobar.
[privoxy.git]
/
urlmatch.c
diff --git
a/urlmatch.c
b/urlmatch.c
index
0cbfcc3
..
4dd6465
100644
(file)
--- a/
urlmatch.c
+++ b/
urlmatch.c
@@
-1,4
+1,4
@@
-const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.
2 2002/01/21 00:14:09 jongfoster
Exp $";
+const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.
4 2002/03/07 03:46:17 oes
Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $
@@
-33,6
+33,12
@@
const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.2 2002/01/21 00:14:09 jongfoste
*
* Revisions :
* $Log: urlmatch.c,v $
*
* Revisions :
* $Log: urlmatch.c,v $
+ * Revision 1.4 2002/03/07 03:46:17 oes
+ * Fixed compiler warnings
+ *
+ * Revision 1.3 2002/03/03 14:51:11 oes
+ * Fixed CLF logging: Added ocmd member for client's request to struct http_request
+ *
* Revision 1.2 2002/01/21 00:14:09 jongfoster
* Correcting comment style
* Fixing an uninitialized memory bug in create_url_spec()
* Revision 1.2 2002/01/21 00:14:09 jongfoster
* Correcting comment style
* Fixing an uninitialized memory bug in create_url_spec()
@@
-296,7
+302,7
@@
jb_err parse_http_url(const char * url,
*/
{
char *vec[BUFFER_SIZE];
*/
{
char *vec[BUFFER_SIZE];
-
in
t size;
+
size_
t size;
char *p;
http->dbuffer = strdup(http->host);
char *p;
http->dbuffer = strdup(http->host);
@@
-605,7
+611,7
@@
jb_err create_url_spec(struct url_spec * url, const char * buf)
return JB_ERR_MEMORY;
}
return JB_ERR_MEMORY;
}
- if ((p = strchr(buf, '/')))
+ if ((p = strchr(buf, '/'))
!= NULL
)
{
if (NULL == (url->path = strdup(p)))
{
{
if (NULL == (url->path = strdup(p)))
{
@@
-672,7
+678,7
@@
jb_err create_url_spec(struct url_spec * url, const char * buf)
if (buf[0] != '\0')
{
char *v[150];
if (buf[0] != '\0')
{
char *v[150];
-
in
t size;
+
size_
t size;
/* Parse domain part */
if (buf[strlen(buf) - 1] == '.')
/* Parse domain part */
if (buf[strlen(buf) - 1] == '.')