summaryrefslogtreecommitdiff
path: root/docs/examples/ftpupload.c
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2008-02-20 12:36:35 +0000
committerGunter Knauf <gk@gknw.de>2008-02-20 12:36:35 +0000
commit4ae644e427a685f5777c93130c3d5831d168c5b4 (patch)
tree6ce177c19b1ded9469a471dd524c2387c769a312 /docs/examples/ftpupload.c
parentd208e56b1665ac17a96dae21885f56ee7b7f5227 (diff)
downloadcurl-4ae644e427a685f5777c93130c3d5831d168c5b4.tar.gz
reformatted comment.
Diffstat (limited to 'docs/examples/ftpupload.c')
-rw-r--r--docs/examples/ftpupload.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/examples/ftpupload.c b/docs/examples/ftpupload.c
index db209a78d..8b29a21ec 100644
--- a/docs/examples/ftpupload.c
+++ b/docs/examples/ftpupload.c
@@ -33,10 +33,9 @@
#define RENAME_FILE_TO "renamed-and-fine.txt"
/* NOTE: if you want this example to work on Windows with libcurl as a
- DLL, you MUST also provide a read callback with
- CURLOPT_READFUNCTION. Failing to do so will give you a crash since a
- DLL may not use the variable's memory when passed in to it from an app
- like this. */
+ DLL, you MUST also provide a read callback with CURLOPT_READFUNCTION.
+ Failing to do so will give you a crash since a DLL may not use the
+ variable's memory when passed in to it from an app like this. */
static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
{
/* in real-world cases, this would probably get this data differently