mirror of
https://github.com/curl/curl.git
synced 2026-08-26 11:43:32 +03:00
docs: rename CURLcode variables to 'result'
This commit is contained in:
parent
d21f4372ff
commit
09f01f28ec
381 changed files with 1705 additions and 1695 deletions
|
|
@ -47,12 +47,12 @@ int main(void)
|
|||
{
|
||||
CURL *curl = curl_easy_init();
|
||||
if(curl) {
|
||||
CURLcode ret;
|
||||
CURLcode result;
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
|
||||
/* delegate if okayed by policy */
|
||||
curl_easy_setopt(curl, CURLOPT_GSSAPI_DELEGATION,
|
||||
CURLGSSAPI_DELEGATION_POLICY_FLAG);
|
||||
ret = curl_easy_perform(curl);
|
||||
result = curl_easy_perform(curl);
|
||||
}
|
||||
}
|
||||
~~~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue