projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40c88f9
)
CLEANUP: htx: fix a typo in an error message of http_str_to_htx
author
Manu Nicolas
<e.nicolas@criteo.com>
Mon, 9 Jan 2023 01:31:06 +0000
(
01:31
+0000)
committer
Willy Tarreau
<w@1wt.eu>
Mon, 9 Jan 2023 04:28:03 +0000
(
05:28
+0100)
This fixes a typo in an error message about headers in the
http_str_to_htx function.
src/http_htx.c
patch
|
blob
|
history
diff --git
a/src/http_htx.c
b/src/http_htx.c
index
2978f2e
..
58b2418
100644
(file)
--- a/
src/http_htx.c
+++ b/
src/http_htx.c
@@
-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;
}