summaryrefslogtreecommitdiff
path: root/docs/examples/ftpgetresp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-06-18 11:38:54 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-06-18 11:38:54 +0200
commit0e7d76d6a87bbae77af0bf37bed4428748295a44 (patch)
tree6c73211575ba8e2e10e5cc147c954bd2337eab78 /docs/examples/ftpgetresp.c
parent26583a62ab8f29f672f91932b81c595f33c72b9f (diff)
downloadgnurl-0e7d76d6a87bbae77af0bf37bed4428748295a44.tar.gz
gnurl-0e7d76d6a87bbae77af0bf37bed4428748295a44.tar.bz2
gnurl-0e7d76d6a87bbae77af0bf37bed4428748295a44.zip
examples: more descriptions
Diffstat (limited to 'docs/examples/ftpgetresp.c')
-rw-r--r--docs/examples/ftpgetresp.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/examples/ftpgetresp.c b/docs/examples/ftpgetresp.c
index dcb296adf..76c512bb3 100644
--- a/docs/examples/ftpgetresp.c
+++ b/docs/examples/ftpgetresp.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, 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 <curl/curl.h>
-/*
- * Similar to ftpget.c but this also stores the received response-lines
+/* <DESC>
+ * 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.
+ * </DESC>
*/
-
static size_t
write_response(void *ptr, size_t size, size_t nmemb, void *data)
{