aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-05-25 13:50:52 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-05-25 13:50:52 +0200
commitedf282c09681dfca6b6480a3e07a475918b32e23 (patch)
tree1a6e33cc0f2449820f06adc170d499703cd90701
parenta947a9ac621d08f80fd4004b7ff8ed872d471d80 (diff)
setopt.3: CURLOPT_WRITEFUNCTION had wrong function proto
-rw-r--r--docs/libcurl/curl_easy_setopt.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index 0fa6999e0..f7af816bb 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -145,7 +145,7 @@ Using the rules above, a file name pattern can be constructed:
.SH CALLBACK OPTIONS
.IP CURLOPT_WRITEFUNCTION
Function pointer that should match the following prototype: \fBsize_t
-function( void *ptr, size_t size, size_t nmemb, void *userdata);\fP This
+function( char *ptr, size_t size, size_t nmemb, void *userdata);\fP This
function gets called by libcurl as soon as there is data received that needs
to be saved. The size of the data pointed to by \fIptr\fP is \fIsize\fP
multiplied with \fInmemb\fP, it will not be zero terminated. Return the number