Loading lib/asyn-ares.c +1 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,7 @@ void Curl_resolver_global_cleanup(void) * URL-state specific environment ('resolver' member of the UrlState * structure). Fills the passed pointer by the initialized ares_channel. */ int Curl_resolver_init(void **resolver) CURLcode Curl_resolver_init(void **resolver) { int status = ares_init((ares_channel*)resolver); if(status != ARES_SUCCESS) { Loading lib/asyn-thread.c +1 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ void Curl_resolver_global_cleanup(void) * URL-state specific environment ('resolver' member of the UrlState * structure). Does nothing here. */ int Curl_resolver_init(void **resolver) CURLcode Curl_resolver_init(void **resolver) { (void)resolver; return CURLE_OK; Loading lib/asyn.h +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ void Curl_resolver_global_cleanup(void); * Returning anything else than CURLE_OK fails curl_easy_init() with the * correspondent code. */ int Curl_resolver_init(void **resolver); CURLcode Curl_resolver_init(void **resolver); /* * Curl_resolver_cleanup() Loading lib/url.c +1 −1 Original line number Diff line number Diff line Loading @@ -765,7 +765,7 @@ CURLcode Curl_open(struct SessionHandle **curl) { CURLcode res = CURLE_OK; struct SessionHandle *data; int status; CURLcode status; /* Very simple start-up: alloc the struct, init it with zeroes and return */ data = calloc(1, sizeof(struct SessionHandle)); Loading Loading
lib/asyn-ares.c +1 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,7 @@ void Curl_resolver_global_cleanup(void) * URL-state specific environment ('resolver' member of the UrlState * structure). Fills the passed pointer by the initialized ares_channel. */ int Curl_resolver_init(void **resolver) CURLcode Curl_resolver_init(void **resolver) { int status = ares_init((ares_channel*)resolver); if(status != ARES_SUCCESS) { Loading
lib/asyn-thread.c +1 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ void Curl_resolver_global_cleanup(void) * URL-state specific environment ('resolver' member of the UrlState * structure). Does nothing here. */ int Curl_resolver_init(void **resolver) CURLcode Curl_resolver_init(void **resolver) { (void)resolver; return CURLE_OK; Loading
lib/asyn.h +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ void Curl_resolver_global_cleanup(void); * Returning anything else than CURLE_OK fails curl_easy_init() with the * correspondent code. */ int Curl_resolver_init(void **resolver); CURLcode Curl_resolver_init(void **resolver); /* * Curl_resolver_cleanup() Loading
lib/url.c +1 −1 Original line number Diff line number Diff line Loading @@ -765,7 +765,7 @@ CURLcode Curl_open(struct SessionHandle **curl) { CURLcode res = CURLE_OK; struct SessionHandle *data; int status; CURLcode status; /* Very simple start-up: alloc the struct, init it with zeroes and return */ data = calloc(1, sizeof(struct SessionHandle)); Loading