mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:03:35 +03:00
Compiler warning fix
This commit is contained in:
parent
a1de9367ec
commit
15e3dfe1d3
2 changed files with 2 additions and 3 deletions
|
|
@ -24,14 +24,13 @@ int test(char *URL)
|
|||
char done=FALSE;
|
||||
CURLM *m;
|
||||
int current=0;
|
||||
int i;
|
||||
|
||||
/* In windows, this will init the winsock stuff */
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
|
||||
curl = curl_easy_init();
|
||||
if(!curl)
|
||||
return 100 + i; /* major bad */
|
||||
return 100; /* major bad */
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_URL, URL);
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue