X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fexamples%2Fftpgetresp.c;h=76c512bb36d975aeefaffeae410ca5f1b9d2b784;hb=31368b6eac8092a307849518e912b4c475c0238a;hp=dcb296adf142ec94f52b02e3fa1d7a0e730a6525;hpb=ff9f0eb35d80c251e9a54162eae18f44349ae59d;p=platform%2Fupstream%2Fcurl.git diff --git a/docs/examples/ftpgetresp.c b/docs/examples/ftpgetresp.c index dcb296a..76c512b 100644 --- a/docs/examples/ftpgetresp.c +++ b/docs/examples/ftpgetresp.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -23,13 +23,11 @@ #include -/* - * Similar to ftpget.c but this also stores the received response-lines +/* + * Similar to ftpget.c but also stores the received response-lines * in a separate file using our own callback! - * - * This functionality was introduced in libcurl 7.9.3. + * */ - static size_t write_response(void *ptr, size_t size, size_t nmemb, void *data) {