aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-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