summaryrefslogtreecommitdiff
path: root/docs/examples/sepheaders.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-11-19 08:21:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-11-19 08:21:34 +0000
commitcc48658564dad6cd57b7526ab1e98780145a473f (patch)
tree3e77cb68e364e1b795c4a52ea8e0c7f736277ede /docs/examples/sepheaders.c
parent79e4aee18549b520f73548ce6ef94f6d8d5350f2 (diff)
downloadcurl-cc48658564dad6cd57b7526ab1e98780145a473f.tar.gz
cut off old crappy win32 comments and use the proper global_init instead
also removed very old "require libcurl older than blablabla"
Diffstat (limited to 'docs/examples/sepheaders.c')
-rw-r--r--docs/examples/sepheaders.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/examples/sepheaders.c b/docs/examples/sepheaders.c
index 7168f8016..6e8735168 100644
--- a/docs/examples/sepheaders.c
+++ b/docs/examples/sepheaders.c
@@ -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();