Michal Marek's cleanup of how curl_easy_setopt() is used in examples and

test code. Thanks to his curl_easy_setopt() typechecker work...
This commit is contained in:
Daniel Stenberg 2008-02-27 09:06:15 +00:00
parent 6cc8df95dd
commit b12fef3f31
7 changed files with 16 additions and 16 deletions

View file

@ -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) {