]> granicus.if.org Git - curl/commitdiff
libcurl-tutorial.3: Fix small typo (mutipart -> multipart)
authorSorcus <mail@sorcus.name>
Sat, 8 Jun 2019 20:18:18 +0000 (20:18 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 9 Jun 2019 16:36:16 +0000 (18:36 +0200)
Fixed-by: MrSorcus on github
Closes #4000

docs/libcurl/libcurl-tutorial.3

index aeca76e2e8225d231ee5905780d81d63eb6b569a..c06e3776060bc765f7ec8b08436e621386fac767 100644 (file)
@@ -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");