mirror of
https://github.com/curl/curl.git
synced 2026-08-26 19:03:32 +03:00
misc: remove strlen for Curl_checkheaders + Curl_checkProxyheaders
Closes #8409
This commit is contained in:
parent
3738de3bd1
commit
9bc3cebc92
11 changed files with 80 additions and 63 deletions
|
|
@ -698,7 +698,7 @@ static CURLcode smtp_perform_mail(struct Curl_easy *data)
|
|||
NULL, MIMESTRATEGY_MAIL);
|
||||
|
||||
if(!result)
|
||||
if(!Curl_checkheaders(data, "Mime-Version"))
|
||||
if(!Curl_checkheaders(data, STRCONST("Mime-Version")))
|
||||
result = Curl_mime_add_header(&data->set.mimepost.curlheaders,
|
||||
"Mime-Version: 1.0");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue