CLEANUP: htx: fix a typo in an error message of http_str_to_htx
This fixes a typo in an error message about headers in the http_str_to_htx function. (cherry picked from commit 45b6b233359a95f95d98bb670a931d05907edd60) Signed-off-by: Willy Tarreau <w@1wt.eu> (cherry picked from commit bfddb2aae3841fd27cbe999d247e05ddf6465684) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
This commit is contained in:
parent
23db8c664b
commit
8012c2c812
@ -924,7 +924,7 @@ int http_str_to_htx(struct buffer *buf, struct ist raw, char **errmsg)
|
||||
ret = h1_headers_to_hdr_list(raw.ptr, istend(raw),
|
||||
hdrs, sizeof(hdrs)/sizeof(hdrs[0]), &h1m, &h1sl);
|
||||
if (ret <= 0) {
|
||||
memprintf(errmsg, "unabled to parse headers (error offset: %d)", h1m.err_pos);
|
||||
memprintf(errmsg, "unable to parse headers (error offset: %d)", h1m.err_pos);
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user