mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
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:
parent
40c88f997f
commit
45b6b23335
@ -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…
Reference in New Issue
Block a user