Loading docs/examples/ftpupload.c +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading docs/examples/sepheaders.c +1 −1 Original line number Diff line number Diff line Loading @@ -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; } Loading Loading
docs/examples/ftpupload.c +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
docs/examples/sepheaders.c +1 −1 Original line number Diff line number Diff line Loading @@ -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; } Loading