Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
5c1e9632
Commit
5c1e9632
authored
Oct 20, 2001
by
Jack Moffitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32 compatibility courtesy of Oddsock.
svn path=/trunk/httpp/; revision=2188
parent
16562254
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
src/httpp/httpp.c
src/httpp/httpp.c
+9
-4
No files found.
src/httpp/httpp.c
View file @
5c1e9632
...
...
@@ -11,6 +11,10 @@
#include "avl.h"
#include "httpp.h"
#ifdef _WIN32
#define strcasecmp stricmp
#endif
/* internal functions */
/* misc */
...
...
@@ -47,10 +51,11 @@ int httpp_parse(http_parser_t *parser, char *http_data, unsigned long len)
char
*
line
[
32
];
/* limited to 32 lines, should be more than enough */
int
i
,
l
,
retlen
;
int
lines
;
char
*
req_type
;
char
*
uri
;
char
*
version
;
char
*
name
,
*
value
;
char
*
req_type
=
NULL
;
char
*
uri
=
NULL
;
char
*
version
=
NULL
;
char
*
name
=
NULL
;
char
*
value
=
NULL
;
int
whitespace
,
where
;
int
slen
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment