mirror of
https://github.com/curl/curl.git
synced 2026-06-08 15:34:15 +03:00
CURLOPT_HSTS_CTRL.md drop cast, never needed it
This commit is contained in:
parent
80fb94b35d
commit
b71542e91f
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ int main(void)
|
|||
{
|
||||
CURL *curl = curl_easy_init();
|
||||
if(curl) {
|
||||
curl_easy_setopt(curl, CURLOPT_HSTS_CTRL, (long)CURLHSTS_ENABLE);
|
||||
curl_easy_setopt(curl, CURLOPT_HSTS_CTRL, CURLHSTS_ENABLE);
|
||||
curl_easy_perform(curl);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue