mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:33:38 +03:00
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:
parent
6cc8df95dd
commit
b12fef3f31
7 changed files with 16 additions and 16 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue