Loading lib/easy.c +6 −2 Original line number Diff line number Diff line Loading @@ -198,8 +198,12 @@ CURL *curl_easy_init(void) struct SessionHandle *data; /* Make sure we inited the global SSL stuff */ if (!initialized) curl_global_init(CURL_GLOBAL_DEFAULT); if (!initialized) { res = curl_global_init(CURL_GLOBAL_DEFAULT); if(res) /* something in the global init failed, return nothing */ return NULL; } /* We use curl_open() with undefined URL so far */ res = Curl_open(&data); Loading Loading
lib/easy.c +6 −2 Original line number Diff line number Diff line Loading @@ -198,8 +198,12 @@ CURL *curl_easy_init(void) struct SessionHandle *data; /* Make sure we inited the global SSL stuff */ if (!initialized) curl_global_init(CURL_GLOBAL_DEFAULT); if (!initialized) { res = curl_global_init(CURL_GLOBAL_DEFAULT); if(res) /* something in the global init failed, return nothing */ return NULL; } /* We use curl_open() with undefined URL so far */ res = Curl_open(&data); Loading