Skip to content

Commit

Permalink
textopsx: include : in the value to be parsed as header name inside f…
Browse files Browse the repository at this point in the history
…ixup_hname_param()

- reported by Björn Bylander

(cherry picked from commit 5f301c9)
  • Loading branch information
miconda committed Sep 15, 2015
1 parent 0b20349 commit 637e727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/textopsx/textopsx.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ static int fixup_hname_param(char *hname, struct hname_data** h) {
(*h)->hname.len = hname - (*h)->hname.s;
savec = *hname;
*hname = ':';
parse_hname2_short((*h)->hname.s, (*h)->hname.s+(*h)->hname.len, &hdr);
parse_hname2_short((*h)->hname.s, (*h)->hname.s+(*h)->hname.len+1, &hdr);
*hname = savec;

if (hdr.type == HDR_ERROR_T) goto err;
Expand Down

0 comments on commit 637e727

Please sign in to comment.