summaryrefslogtreecommitdiff
path: root/lib/smtp.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2020-04-20 10:05:28 +0200
committerDaniel Gustafsson <daniel@yesql.se>2020-04-20 10:12:22 +0200
commit10822c652c5f4c4e979b847b18512b318e2301e9 (patch)
tree9d83b9ecc65380becee73709f29bc946bb154d77 /lib/smtp.c
parentbcd9813588e971212f139d614a77215f1602e066 (diff)
downloadcurl-10822c652c5f4c4e979b847b18512b318e2301e9.tar.gz
lib: fix typos in comments and errormessages
This fixes a few randomly spotted typos in recently merged code, most notably one in a userfacing errormessage the schannel code.
Diffstat (limited to 'lib/smtp.c')
-rw-r--r--lib/smtp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/smtp.c b/lib/smtp.c
index e1872871d..93e004d20 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -1741,10 +1741,10 @@ static CURLcode smtp_parse_custom_request(struct connectdata *conn)
* Notes:
*
* Should a UTF-8 host name require conversion to IDN ACE and we cannot honor
- * that convertion then we shall return success. This allow the caller to send
+ * that conversion then we shall return success. This allow the caller to send
* the data to the server as a U-label (as per RFC-6531 sect. 3.2).
*
- * If an mailbox '@' seperator cannot be located then the mailbox is considered
+ * If an mailbox '@' separator cannot be located then the mailbox is considered
* to be either a local mailbox or an invalid mailbox (depending on what the
* calling function deems it to be) then the input will simply be returned in
* the address part with the host name being NULL.
@@ -1765,7 +1765,7 @@ static CURLcode smtp_parse_address(struct connectdata *conn, const char *fqma,
if(dup[length - 1] == '>')
dup[length - 1] = '\0';
- /* Extract the host name from the addresss (if we can) */
+ /* Extract the host name from the address (if we can) */
host->name = strpbrk(dup, "@");
if(host->name) {
*host->name = '\0';