mirror of
https://github.com/curl/curl.git
synced 2026-06-08 13:24:17 +03:00
CURLOPT_GSSAPI_DELEGATION.md add history, drop cast
This commit is contained in:
parent
5688156d80
commit
a8978623a6
1 changed files with 6 additions and 1 deletions
|
|
@ -51,12 +51,17 @@ int main(void)
|
|||
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
|
||||
/* delegate if okayed by policy */
|
||||
curl_easy_setopt(curl, CURLOPT_GSSAPI_DELEGATION,
|
||||
(long)CURLGSSAPI_DELEGATION_POLICY_FLAG);
|
||||
CURLGSSAPI_DELEGATION_POLICY_FLAG);
|
||||
ret = curl_easy_perform(curl);
|
||||
}
|
||||
}
|
||||
~~~
|
||||
|
||||
# HISTORY
|
||||
|
||||
**CURLGSSAPI_DELEGATION_*** macros became `long` types in 8.16.0, prior to this
|
||||
version a `long` cast was necessary when passed to curl_easy_setopt(3).
|
||||
|
||||
# %AVAILABILITY%
|
||||
|
||||
# RETURN VALUE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue