lib1512.c: Fixed compilation warning
An enumerated type is mixed with another type. ...as well as a small coding style error.
This commit is contained in:
Родитель
97ed1ac905
Коммит
f73f052010
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
int test(char *URL)
|
int test(char *URL)
|
||||||
{
|
{
|
||||||
CURLcode res = 0;
|
int res = 0;
|
||||||
CURL *curl[NUM_HANDLES] = {NULL, NULL};
|
CURL *curl[NUM_HANDLES] = {NULL, NULL};
|
||||||
char *port = libtest_arg3;
|
char *port = libtest_arg3;
|
||||||
char *address = libtest_arg2;
|
char *address = libtest_arg2;
|
||||||
|
@ -84,6 +84,6 @@ test_cleanup:
|
||||||
curl_slist_free_all(slist);
|
curl_slist_free_all(slist);
|
||||||
curl_global_cleanup();
|
curl_global_cleanup();
|
||||||
|
|
||||||
return (int)res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче