From a8978623a69552c28bbcae6b3975adb3a3fa29b5 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 1 Aug 2025 17:24:16 +0200 Subject: [PATCH] CURLOPT_GSSAPI_DELEGATION.md add history, drop cast --- docs/libcurl/opts/CURLOPT_GSSAPI_DELEGATION.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/libcurl/opts/CURLOPT_GSSAPI_DELEGATION.md b/docs/libcurl/opts/CURLOPT_GSSAPI_DELEGATION.md index ca049ab949..bedceaabcf 100644 --- a/docs/libcurl/opts/CURLOPT_GSSAPI_DELEGATION.md +++ b/docs/libcurl/opts/CURLOPT_GSSAPI_DELEGATION.md @@ -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