diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2017-09-22 01:08:29 +0100 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2017-09-22 01:08:29 +0100 |
commit | ee56fdb6910f6bf215eecede9e2e9bfc83cb5f29 (patch) | |
tree | bfdbf1f3f2f5cd9f051f6b8d0b2469c51b2660ef /docs/libcurl/curl_mime_headers.3 | |
parent | fa9482ab0907dfacd0fb619add2dbf41de2d8c9c (diff) | |
download | curl-ee56fdb6910f6bf215eecede9e2e9bfc83cb5f29.tar.gz |
form/mime: field names are not allowed to contain zero-valued bytes.
Also suppress length argument of curl_mime_name() (names are always
zero-terminated).
Diffstat (limited to 'docs/libcurl/curl_mime_headers.3')
-rw-r--r-- | docs/libcurl/curl_mime_headers.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/curl_mime_headers.3 b/docs/libcurl/curl_mime_headers.3 index 87724ae1b..1d02e1ee5 100644 --- a/docs/libcurl/curl_mime_headers.3 +++ b/docs/libcurl/curl_mime_headers.3 @@ -59,7 +59,7 @@ CURLE_OK or a CURL error code upon failure. curl_mime_data(part, "12345679", CURL_ZERO_TERMINATED); /* set name */ - curl_mime_name(part, "numbers", CURL_ZERO_TERMINATED); + curl_mime_name(part, "numbers"); .fi .SH "SEE ALSO" .BR curl_mime_addpart "(3)" |