Skip to content
Snippets Groups Projects
Commit 5334a58f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Andy Cedilnik's corrections

parent 2616bdc4
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,9 @@
#include <stdio.h>
#include <curl/curl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
/*
* This example shows an FTP upload, with a rename of the file just after
......
......@@ -21,7 +21,7 @@
size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream)
{
written = fwrite(ptr, size, nmemb, (FILE *)stream);
int written = fwrite(ptr, size, nmemb, (FILE *)stream);
return written;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment