mirror of
https://github.com/curl/curl.git
synced 2026-08-02 09:30:29 +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
|
|
@ -777,7 +777,7 @@ static CURLcode imap_perform_append(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