aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-12-16 17:33:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-12-16 17:33:21 +0000
commit81f45ba92ac15bc7054280a14acf92a1b1402c7b (patch)
treeb0546fa112b45ccdb4c84e3af3f6dc3a92e3a045 /docs
parenta5dc4e32f2468da81f574b3a3e9c9592cebdbaf7 (diff)
writefunction data is not zero terminated
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/curl_easy_setopt.38
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index fc0b37753..3b32967b8 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -70,10 +70,10 @@ 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 reveiced 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.
+multiplied with \fInmemb\fP, it will not be zero terminated. 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.