From 821302bcf3cb608b2f29dffc757f5152cbe63a39 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 8 Dec 2003 14:14:26 +0000 Subject: removed old version checks --- docs/examples/fopen.c | 5 ----- docs/examples/post-callback.c | 10 ---------- 2 files changed, 15 deletions(-) (limited to 'docs') diff --git a/docs/examples/fopen.c b/docs/examples/fopen.c index 272c1ad87..eb5501628 100644 --- a/docs/examples/fopen.c +++ b/docs/examples/fopen.c @@ -51,11 +51,6 @@ #include -#if (LIBCURL_VERSION_NUM < 0x070907) -#error "too old libcurl version, get the latest!" -#endif - - enum fcurl_type_e { CFTYPE_NONE=0, CFTYPE_FILE=1, CFTYPE_CURL=2 }; struct fcurl_data diff --git a/docs/examples/post-callback.c b/docs/examples/post-callback.c index eda878677..76d1e1ba5 100644 --- a/docs/examples/post-callback.c +++ b/docs/examples/post-callback.c @@ -10,21 +10,11 @@ * An example source code that issues a HTTP POST and we provide the actual * data through a read callback. * - * Please be aware of the fact that the size of the posted data MUST be - * specified before the transfer is being made (with CURLOPT_POSTFIELDSIZE). - * This requirement will change when libcurl starts supporting chunked-encoded - * sends. - * - * This example requires libcurl 7.9.6 or later. */ #include #include #include -#if LIBCURL_VERSION_NUM < 0x070906 -#error this example source requires libcurl 7.9.6 or newer -#endif - char data[]="this is what we post to the silly web server"; struct WriteThis { -- cgit v1.2.3