projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5133e12
)
Resize an array in parse_http_request() to the appropriate size
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 26 May 2014 10:48:07 +0000
(10:48 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 26 May 2014 10:48:07 +0000
(10:48 +0000)
urlmatch.c
patch
|
blob
|
history
diff --git
a/urlmatch.c
b/urlmatch.c
index
14de337
..
57c538e
100644
(file)
--- a/
urlmatch.c
+++ b/
urlmatch.c
@@
-1,4
+1,4
@@
-const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.
79 2013/11/24 14:25:5
5 fabiankeil Exp $";
+const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.
80 2013/11/24 14:47:4
5 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $
@@
-489,7
+489,7
@@
static int unknown_method(const char *method)
jb_err parse_http_request(const char *req, struct http_request *http)
{
char *buf;
jb_err parse_http_request(const char *req, struct http_request *http)
{
char *buf;
- char *v[
10]; /* XXX: Why 10? We should only need three. */
+ char *v[
3];
int n;
jb_err err;
int n;
jb_err err;