diff options
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/curl_mime_type.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/curl_mime_type.3 b/docs/libcurl/curl_mime_type.3 index aa6b5b27a..7a4c0eb3e 100644 --- a/docs/libcurl/curl_mime_type.3 +++ b/docs/libcurl/curl_mime_type.3 @@ -72,7 +72,7 @@ CURLE_OK or a CURL error code upon failure. curl_mime_filedata(part, "image.png"); /* content-type for this part */ - curl_mime_name(part, "image/png"); + curl_mime_type(part, "image/png"); /* set name */ curl_mime_name(part, "image", CURL_ZERO_TERMINATED); |