diff --git a/modules/textopsx/textopsx.c b/modules/textopsx/textopsx.c index ba49aee9532..b170eb85eae 100644 --- a/modules/textopsx/textopsx.c +++ b/modules/textopsx/textopsx.c @@ -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;