diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-10-15 21:19:40 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-10-15 21:19:40 +0000 |
commit | a83b5d1b675442d384b46a8fb8404e46c9e5f449 (patch) | |
tree | 7c1adeeb1aa05ea485f46b858dd76ed72af4e83f /docs/libcurl/curl_formadd.3 | |
parent | add90abfa40e06fb2d14191f6576258842ac69d4 (diff) | |
download | curl-a83b5d1b675442d384b46a8fb8404e46c9e5f449.tar.gz |
Mention first version with CURLOPT_COPYPOSTFIELDS.
Don't confuse NUL with NULL.
Diffstat (limited to 'docs/libcurl/curl_formadd.3')
-rw-r--r-- | docs/libcurl/curl_formadd.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/libcurl/curl_formadd.3 b/docs/libcurl/curl_formadd.3 index a94dd506f..8508dd411 100644 --- a/docs/libcurl/curl_formadd.3 +++ b/docs/libcurl/curl_formadd.3 @@ -44,7 +44,7 @@ parts. .IP CURLFORM_COPYNAME followed by a string which provides the \fIname\fP of this part. libcurl copies the string so your application doesn't need to keep it around after -this function call. If the name isn't null terminated, or if you'd +this function call. If the name isn't NUL-terminated, or if you'd like it to contain zero bytes, you must set its length with \fBCURLFORM_NAMELENGTH\fP. The copied data will be freed by \fIcurl_formfree(3)\fP. @@ -53,7 +53,7 @@ like it to contain zero bytes, you must set its length with followed by a string which provides the \fIname\fP of this part. libcurl will use the pointer and refer to the data in your application, so you must make sure it remains until curl no longer needs it. If the name -isn't null terminated, or if you'd like it to contain zero +isn't NUL-terminated, or if you'd like it to contain zero bytes, you must set its length with \fBCURLFORM_NAMELENGTH\fP. .IP CURLFORM_COPYCONTENTS @@ -68,7 +68,7 @@ data will be freed by \fIcurl_formfree(3)\fP. followed by a pointer to the contents of this part, the actual data to send away. libcurl will use the pointer and refer to the data in your application, so you must make sure it remains until curl no longer needs it. -If the data isn't null terminated, or if you'd like it to contain zero bytes, +If the data isn't NUL-terminated, or if you'd like it to contain zero bytes, you must set its length with \fBCURLFORM_CONTENTSLENGTH\fP. .IP CURLFORM_CONTENTSLENGTH |