aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-03-18 08:53:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-03-18 08:53:21 +0000
commit61a84abe2abe35d01eeb399596df23f266e43f8a (patch)
tree6662969f6314f11e38a888cc6aa18e4240f0f115
parent3d03100079e36e85025c4bea9d423a9103dfeb27 (diff)
WRITEFUNCTION correction
-rw-r--r--docs/libcurl/curl_easy_setopt.312
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index 4067cec5e..f1bd48ad1 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -49,12 +49,12 @@ crashes.
.B CURLOPT_WRITEFUNCTION
Function pointer that should match the following prototype: \fBsize_t
function( void *ptr, size_t size, size_t nmemb, void *stream);\fP This
-function gets called by libcurl as soon as there is data available to pass
-available that needs to be saved. The size of the data pointed to by \fIptr\fP
-is \fIsize\fP multiplied with \fInmemb\fP. Return the number of bytes
-actually taken care of. If that amount differs from the amount passed to your
-function, it'll signal an error to the library and it will abort the transfer
-and return \fICURLE_WRITE_ERROR\fP.
+function gets called by libcurl as soon as there is data available that needs
+to be saved. The size of the data pointed to by \fIptr\fP is \fIsize\fP
+multiplied with \fInmemb\fP. Return the number of bytes actually taken care
+of. If that amount differs from the amount passed to your function, it'll
+signal an error to the library and it will abort the transfer and return
+\fICURLE_WRITE_ERROR\fP.
Set the \fIstream\fP argument with the \fBCURLOPT_FILE\fP option.