Skip to content

Commit

Permalink
html parsing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdavidgraham committed Jan 3, 2014
1 parent 5777ce3 commit 483e54a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/proto-http.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ enum {
HTML_UNKNOWN,
};
static struct Patterns html_fields[] = {
{"<Title", 6, HTML_TITLE, 0},
{"<TiTle", 6, HTML_TITLE, 0},
{0,0,0,0}
};

Expand Down Expand Up @@ -349,7 +349,7 @@ http_parse(
px, &i, (unsigned)length);
i--;
if (id != SMACK_NOT_FOUND) {
field_name(banout, id, html_fields);
//field_name(banout, id, html_fields);
//banout_append_char(banout, PROTO_HTML_TITLE, ':');
state = CONTENT_TAG;
}
Expand Down

0 comments on commit 483e54a

Please sign in to comment.