mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 19:45:04 -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");
|
curl_mime_filedata(part, "image.png");
|
||||||
|
|
||||||
/* content-type for this part */
|
/* content-type for this part */
|
||||||
curl_mime_name(part, "image/png");
|
curl_mime_type(part, "image/png");
|
||||||
|
|
||||||
/* set name */
|
/* set name */
|
||||||
curl_mime_name(part, "image", CURL_ZERO_TERMINATED);
|
curl_mime_name(part, "image", CURL_ZERO_TERMINATED);
|
||||||
|
Loading…
Reference in New Issue
Block a user