From: Daniel Stenberg Date: Fri, 1 Apr 2022 14:03:40 +0000 (+0200) Subject: http: correct the header error message to say colon X-Git-Tag: curl-7_83_0~77 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=218cc70028fc3343bca55283186e909f7fbd4711;p=thirdparty%2Fcurl.git http: correct the header error message to say colon Not semicolon Reported-by: Gisle Vanem Ref: #8666 Closes #8667 --- diff --git a/lib/http.c b/lib/http.c index dd0d9879e3..e3a517354d 100644 --- a/lib/http.c +++ b/lib/http.c @@ -3792,7 +3792,7 @@ static CURLcode verify_header(struct Curl_easy *data) ptr = memchr(header, ':', hlen); if(!ptr) { /* this is bad, bail out */ - failf(data, "Header without semicolon"); + failf(data, "Header without colon"); return CURLE_WEIRD_SERVER_REPLY; } return CURLE_OK;