From 79e4aee18549b520f73548ce6ef94f6d8d5350f2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 19 Nov 2003 08:20:13 +0000 Subject: [PATCH] cleaned up --- docs/examples/persistant.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/docs/examples/persistant.c b/docs/examples/persistant.c index 7b880dee6..0a17031b8 100644 --- a/docs/examples/persistant.c +++ b/docs/examples/persistant.c @@ -10,26 +10,14 @@ #include #include - #include -/* to make this work under windows, use the win32-functions from the - docs/examples/win32socket.c file as well */ - -/* This example REQUIRES libcurl 7.7 or later */ -#if (LIBCURL_VERSION_NUM < 0x070700) -#error Too old libcurl version, upgrade or stay away. -#endif - int main(int argc, char **argv) { CURL *curl; CURLcode res; -#ifdef MALLOCDEBUG - /* this sends all memory debug messages to a specified logfile */ - curl_memdebug("memdump"); -#endif + curl_global_init(CURL_GLOBAL_ALL); curl = curl_easy_init(); if(curl) {