projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1813d2d
)
corrected the comment for CURLOPT_WRITEHEADER in setopt(), and made it
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 6 Aug 2001 08:18:15 +0000
(08:18 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 6 Aug 2001 08:18:15 +0000
(08:18 +0000)
read a void * and not a FILE *, as that was how it used to work and not
anymore...
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
404a26f
..
4b5fbb3
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-480,9
+480,9
@@
CURLcode Curl_setopt(CURL *curl, CURLoption option, ...)
break;
case CURLOPT_WRITEHEADER:
/*
- * C
allback function for header data
+ * C
ustom pointer to pass the header write callback function
*/
- data->writeheader = (
FILE *)va_arg(param, FILE
*);
+ data->writeheader = (
void *)va_arg(param, void
*);
break;
case CURLOPT_COOKIE:
/*