mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
fixing some compiler warnings
svn path=/icecast/trunk/httpp/; revision=19281
This commit is contained in:
parent
fc63b67b87
commit
9353b5e448
@ -91,14 +91,13 @@ static int split_headers(char *data, unsigned long len, char **line)
|
|||||||
|
|
||||||
static void parse_headers(http_parser_t *parser, char **line, int lines)
|
static void parse_headers(http_parser_t *parser, char **line, int lines)
|
||||||
{
|
{
|
||||||
int i,l;
|
int i, l;
|
||||||
int whitespace, where, slen;
|
int whitespace, slen;
|
||||||
char *name = NULL;
|
char *name = NULL;
|
||||||
char *value = NULL;
|
char *value = NULL;
|
||||||
|
|
||||||
/* parse the name: value lines. */
|
/* parse the name: value lines. */
|
||||||
for (l = 1; l < lines; l++) {
|
for (l = 1; l < lines; l++) {
|
||||||
where = 0;
|
|
||||||
whitespace = 0;
|
whitespace = 0;
|
||||||
name = line[l];
|
name = line[l];
|
||||||
value = NULL;
|
value = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user