mirror of
https://github.com/curl/curl.git
synced 2026-08-04 17:56:13 +03:00
cut off old crappy win32 comments and use the proper global_init instead
also removed very old "require libcurl older than blablabla"
This commit is contained in:
parent
79e4aee185
commit
cc48658564
2 changed files with 4 additions and 10 deletions
|
|
@ -8,9 +8,6 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
/* to make this work under windows, use the win32-functions from the
|
||||
win32socket.c file as well */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
|
@ -33,6 +30,8 @@ int main(int argc, char **argv)
|
|||
char *bodyfilename = "body.out";
|
||||
FILE *bodyfile;
|
||||
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
|
||||
/* init the curl session */
|
||||
curl_handle = curl_easy_init();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue