mirror of
https://github.com/curl/curl.git
synced 2026-08-02 00:20:35 +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
|
|
@ -217,15 +217,15 @@ static int handle_socket(CURL *curl, curl_socket_t s, int action, void *userp,
|
|||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
CURLcode res;
|
||||
CURLcode result;
|
||||
|
||||
if(argc <= 1)
|
||||
return 0;
|
||||
|
||||
res = curl_global_init(CURL_GLOBAL_ALL);
|
||||
if(res) {
|
||||
result = curl_global_init(CURL_GLOBAL_ALL);
|
||||
if(result) {
|
||||
fprintf(stderr, "Could not init curl\n");
|
||||
return (int)res;
|
||||
return (int)result;
|
||||
}
|
||||
|
||||
base = event_base_new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue