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.
This commit is contained in:
Manu Nicolas 2023-01-09 01:31:06 +00:00 committed by Willy Tarreau
parent 40c88f997f
commit 45b6b23335

View File

@ -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;
}