mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
examples/mime: minor example code fixes
This commit is contained in:
parent
eae21db920
commit
25fc694a41
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user