1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-11-03 04:17:20 -05: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 e9496a4e9c
commit b5fca17bfb

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;