1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

fixing some compiler warnings

svn path=/icecast/trunk/httpp/; revision=19281
This commit is contained in:
Philipp Schafft 2014-11-07 23:14:00 +00:00
parent fc63b67b87
commit 9353b5e448

View File

@ -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)
{
int i,l;
int whitespace, where, slen;
int i, l;
int whitespace, slen;
char *name = NULL;
char *value = NULL;
/* parse the name: value lines. */
for (l = 1; l < lines; l++) {
where = 0;
whitespace = 0;
name = line[l];
value = NULL;