aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/ftpget.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-02-27 09:06:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-02-27 09:06:15 +0000
commitb12fef3f3137bc606d283a2e527dd9050edf2b12 (patch)
tree1dd1c8756405c783cb0c0935eb9870b8c639e089 /docs/examples/ftpget.c
parent6cc8df95dd11cc24ffd8b9c64bb4a3ca5eeae1b7 (diff)
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and
test code. Thanks to his curl_easy_setopt() typechecker work...
Diffstat (limited to 'docs/examples/ftpget.c')
-rw-r--r--docs/examples/ftpget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/ftpget.c b/docs/examples/ftpget.c
index 42e70bd57..155e79cb7 100644
--- a/docs/examples/ftpget.c
+++ b/docs/examples/ftpget.c
@@ -26,7 +26,7 @@ struct FtpFile {
FILE *stream;
};
-static int my_fwrite(void *buffer, size_t size, size_t nmemb, void *stream)
+static size_t my_fwrite(void *buffer, size_t size, size_t nmemb, void *stream)
{
struct FtpFile *out=(struct FtpFile *)stream;
if(out && !out->stream) {