mirror of
https://github.com/curl/curl.git
synced 2026-07-28 05:53:11 +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
|
|
@ -33,9 +33,9 @@ int main(void)
|
|||
{
|
||||
curl_version_info_data *ver;
|
||||
|
||||
CURLcode res = curl_global_init(CURL_GLOBAL_ALL);
|
||||
if(res)
|
||||
return (int)res;
|
||||
CURLcode result = curl_global_init(CURL_GLOBAL_ALL);
|
||||
if(result)
|
||||
return (int)result;
|
||||
|
||||
ver = curl_version_info(CURLVERSION_NOW);
|
||||
if(ver->features & CURL_VERSION_HTTP2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue