This fixes a typo in an error message about headers in the
http_str_to_htx function.
---
 src/http_htx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/http_htx.c b/src/http_htx.c
index 2978f2eb4..58b24183f 100644
--- 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;
        }
 
-- 
2.34.1

Reply via email to