diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-05-15 12:55:35 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-05-15 12:55:35 +0000 |
commit | e1132ecbe6c73954feac45888f5804a917dfa2ae (patch) | |
tree | 84294e4187fa1f2051939d819483b86e6428df8a | |
parent | ccb92f1a8a6cc219ea42fad11675041a1bb846b8 (diff) |
corrected
-rw-r--r-- | docs/examples/sepheaders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/sepheaders.c b/docs/examples/sepheaders.c index ead557214..40110ce95 100644 --- a/docs/examples/sepheaders.c +++ b/docs/examples/sepheaders.c @@ -19,9 +19,9 @@ #include <curl/types.h> #include <curl/easy.h> -size_t write_data(void *ptr, size_t size, size_t nmemb, FILE *stream) +size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream) { - written = fwrite(ptr,size,nmemb,outfile); + written = fwrite(ptr, size, nmemb, (FILE *)stream); return written; } |