]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
http: correct the header error message to say colon
authorDaniel Stenberg <daniel@haxx.se>
Fri, 1 Apr 2022 14:03:40 +0000 (16:03 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Apr 2022 15:00:18 +0000 (17:00 +0200)
Not semicolon

Reported-by: Gisle Vanem
Ref: #8666
Closes #8667

lib/http.c

index dd0d9879e3117b8d809366cab4ddb32e9342fb94..e3a517354dc54069607f7673fbdb9824d6a830c4 100644 (file)
@@ -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;