mirror of
https://github.com/curl/curl.git
synced 2026-08-24 10: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
|
|
@ -51,11 +51,11 @@ int main(void)
|
|||
{
|
||||
CURL *curl = curl_easy_init();
|
||||
if(curl) {
|
||||
CURLcode ret;
|
||||
CURLcode result;
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "ftp://example.com/");
|
||||
curl_easy_setopt(curl, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);
|
||||
curl_easy_setopt(curl, CURLOPT_NETRC_FILE, "/tmp/magic-netrc");
|
||||
ret = curl_easy_perform(curl);
|
||||
result = curl_easy_perform(curl);
|
||||
}
|
||||
}
|
||||
~~~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue