aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/examples/smtp-mail.c4
-rw-r--r--docs/examples/smtp-mime.c4
-rw-r--r--docs/examples/smtp-multi.c4
-rw-r--r--docs/examples/smtp-ssl.c4
-rw-r--r--docs/examples/smtp-tls.c4
-rw-r--r--docs/libcurl/curl_mime_type.32
6 files changed, 11 insertions, 11 deletions
diff --git a/docs/examples/smtp-mail.c b/docs/examples/smtp-mail.c
index 315bb2cc5..1fabe4b4c 100644
--- a/docs/examples/smtp-mail.c
+++ b/docs/examples/smtp-mail.c
@@ -43,8 +43,8 @@
static const char *payload_text[] = {
"Date: Mon, 29 Nov 2010 21:54:29 +1100\r\n",
"To: " TO "\r\n",
- "From: " FROM "(Example User)\r\n",
- "Cc: " CC "(Another example User)\r\n",
+ "From: " FROM " (Example User)\r\n",
+ "Cc: " CC " (Another example User)\r\n",
"Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@"
"rfcpedant.example.org>\r\n",
"Subject: SMTP example message\r\n",
diff --git a/docs/examples/smtp-mime.c b/docs/examples/smtp-mime.c
index c611ac437..dcd867f68 100644
--- a/docs/examples/smtp-mime.c
+++ b/docs/examples/smtp-mime.c
@@ -43,8 +43,8 @@
static const char *headers_text[] = {
"Date: Tue, 22 Aug 2017 14:08:43 +0100",
"To: " TO,
- "From: " FROM "(Example User)",
- "Cc: " CC "(Another example User)",
+ "From: " FROM " (Example User)",
+ "Cc: " CC " (Another example User)",
"Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@"
"rfcpedant.example.org>",
"Subject: example sending a MIME-formatted message",
diff --git a/docs/examples/smtp-multi.c b/docs/examples/smtp-multi.c
index 89e1d941e..b8951772c 100644
--- a/docs/examples/smtp-multi.c
+++ b/docs/examples/smtp-multi.c
@@ -44,8 +44,8 @@
static const char *payload_text[] = {
"Date: Mon, 29 Nov 2010 21:54:29 +1100\r\n",
"To: " TO "\r\n",
- "From: " FROM "(Example User)\r\n",
- "Cc: " CC "(Another example User)\r\n",
+ "From: " FROM " (Example User)\r\n",
+ "Cc: " CC " (Another example User)\r\n",
"Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@"
"rfcpedant.example.org>\r\n",
"Subject: SMTP multi example message\r\n",
diff --git a/docs/examples/smtp-ssl.c b/docs/examples/smtp-ssl.c
index f01234083..019da7d09 100644
--- a/docs/examples/smtp-ssl.c
+++ b/docs/examples/smtp-ssl.c
@@ -44,8 +44,8 @@
static const char *payload_text[] = {
"Date: Mon, 29 Nov 2010 21:54:29 +1100\r\n",
"To: " TO "\r\n",
- "From: " FROM "(Example User)\r\n",
- "Cc: " CC "(Another example User)\r\n",
+ "From: " FROM " (Example User)\r\n",
+ "Cc: " CC " (Another example User)\r\n",
"Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@"
"rfcpedant.example.org>\r\n",
"Subject: SMTP SSL example message\r\n",
diff --git a/docs/examples/smtp-tls.c b/docs/examples/smtp-tls.c
index c863e059b..671a80d09 100644
--- a/docs/examples/smtp-tls.c
+++ b/docs/examples/smtp-tls.c
@@ -44,8 +44,8 @@
static const char *payload_text[] = {
"Date: Mon, 29 Nov 2010 21:54:29 +1100\r\n",
"To: " TO "\r\n",
- "From: " FROM "(Example User)\r\n",
- "Cc: " CC "(Another example User)\r\n",
+ "From: " FROM " (Example User)\r\n",
+ "Cc: " CC " (Another example User)\r\n",
"Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@"
"rfcpedant.example.org>\r\n",
"Subject: SMTP TLS example message\r\n",
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);