From: Manu Nicolas Date: Mon, 9 Jan 2023 01:31:06 +0000 (+0000) Subject: CLEANUP: htx: fix a typo in an error message of http_str_to_htx X-Git-Tag: v2.8-dev2~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45b6b233359a95f95d98bb670a931d05907edd60;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/http_htx.c b/src/http_htx.c index 2978f2eb40..58b24183f9 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; }