diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-02-27 09:06:15 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-02-27 09:06:15 +0000 |
commit | b12fef3f3137bc606d283a2e527dd9050edf2b12 (patch) | |
tree | 1dd1c8756405c783cb0c0935eb9870b8c639e089 /docs/examples/ftpget.c | |
parent | 6cc8df95dd11cc24ffd8b9c64bb4a3ca5eeae1b7 (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.c | 2 |
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) { |