mirror of
https://github.com/curl/curl.git
synced 2026-07-24 08:07:16 +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
|
|
@ -81,15 +81,15 @@ static void *pull_one_url(void *p)
|
|||
|
||||
int main(void)
|
||||
{
|
||||
CURLcode res;
|
||||
CURLcode result;
|
||||
pthread_t tid[NUMT];
|
||||
struct targ targs[NUMT];
|
||||
int i;
|
||||
|
||||
/* Must initialize libcurl before any threads are started */
|
||||
res = curl_global_init(CURL_GLOBAL_ALL);
|
||||
if(res)
|
||||
return (int)res;
|
||||
result = curl_global_init(CURL_GLOBAL_ALL);
|
||||
if(result)
|
||||
return (int)result;
|
||||
|
||||
for(i = 0; i < NUMT; i++) {
|
||||
int error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue