]> granicus.if.org Git - curl/commitdiff
setopt.3: CURLOPT_WRITEFUNCTION had wrong function proto
authorDaniel Stenberg <daniel@haxx.se>
Wed, 25 May 2011 11:50:52 +0000 (13:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 25 May 2011 11:50:52 +0000 (13:50 +0200)
docs/libcurl/curl_easy_setopt.3

index 0fa6999e0703d497a4ec6c453745eedeb8223111..f7af816bb0652002e4eca8c644b8bbbec994bcdf 100644 (file)
@@ -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