Skip to content
Snippets Groups Projects
Commit 4d280124 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

remove the wrong win32 comment and use global_init

parent e1d01045
No related branches found
No related tags found
No related merge requests found
......@@ -13,9 +13,6 @@
* This exact source code has not been verified to work.
*/
/* to make this work under windows, use the win32-functions from the
win32socket.c file as well */
#include <stdio.h>
#include <curl/curl.h>
......@@ -51,6 +48,8 @@ int main(int argc, char **argv)
chunk.memory=NULL; /* we expect realloc(NULL, size) to work */
chunk.size = 0; /* no data at this point */
curl_global_init(CURL_GLOBAL_ALL);
/* init the curl session */
curl_handle = curl_easy_init();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment