http: correct the header error message to say colon
Not semicolon Reported-by: Gisle Vanem Ref: #8666 Closes #8667
This commit is contained in:
parent
b716b5aa7e
commit
218cc70028
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user