mirror of
https://github.com/moparisthebest/curl
synced 2025-01-10 21:48:10 -05:00
libcurl-tutorial.3: Fix small typo (mutipart -> multipart)
Fixed-by: MrSorcus on github Closes #4000
This commit is contained in:
parent
680f141332
commit
fb2839db24
@ -496,13 +496,13 @@ and then a file with binary contents and uploads the whole thing.
|
||||
|
||||
.nf
|
||||
curl_mime *multipart = curl_mime_init(easyhandle);
|
||||
curl_mimepart *part = curl_mime_addpart(mutipart);
|
||||
curl_mimepart *part = curl_mime_addpart(multipart);
|
||||
curl_mime_name(part, "name");
|
||||
curl_mime_data(part, "daniel", CURL_ZERO_TERMINATED);
|
||||
part = curl_mime_addpart(mutipart);
|
||||
part = curl_mime_addpart(multipart);
|
||||
curl_mime_name(part, "project");
|
||||
curl_mime_data(part, "curl", CURL_ZERO_TERMINATED);
|
||||
part = curl_mime_addpart(mutipart);
|
||||
part = curl_mime_addpart(multipart);
|
||||
curl_mime_name(part, "logotype-image");
|
||||
curl_mime_filedata(part, "curl.png");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user