aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-15 12:55:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-15 12:55:35 +0000
commite1132ecbe6c73954feac45888f5804a917dfa2ae (patch)
tree84294e4187fa1f2051939d819483b86e6428df8a
parentccb92f1a8a6cc219ea42fad11675041a1bb846b8 (diff)
corrected
-rw-r--r--docs/examples/sepheaders.c4
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;
}